Nearest named color · #337EA3
#337EA3
Nearest named color: Neptune
#337EA3 (rgb(51 126 163), hsl(200 52% 42%), oklch(0.563 0.093 233.4)) is closest to the named color Neptune. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#337EA3
oklch(0.563 0.093 233.4)
Color conversions
- HEX
- #337ea3
- RGB
- rgb(51 126 163)
- HSL
- hsl(200 52% 42%)
- HWB
- hwb(200 20% 36%)
- OKLCH
- oklch(0.563 0.093 233.4)
- OKLab
- oklab(0.563 -0.055 -0.074)
- CIE Lab
- lab(49.39 -14.64 -27.13)
- LCH
- lch(49.39 30.83 241.6)
- CMYK
- cmyk(69% 23% 0% 36%)
Tints · Shades · Tones
Tints
- 4A8BAC
- 5F97B6
- 74A4BF
- 88B1C8
- 9BBDD1
- AFCADA
- C3D7E4
- D7E5ED
- EBF2F6
Shades
- 2B6D8D
- 235C78
- 1C4C63
- 143C4F
- 0D2D3C
- 071F2A
- 031119
- 01050A
- 000101
Tones
- 3E7EA0
- 477F9C
- 507F99
- 588096
- 5F8092
- 66808F
- 6D808B
- 748087
- 7A8084
Color harmonies
Complementary +180°
- 337EA3
Neptune
- A0653E
≈ Earth
Analogous -30° +30°
- 337EA3
Neptune
- 10858E
≈ Totally Teal
- 5874AC
≈ Sapphire Shimmer Blue
Triadic +120° +240°
- 337EA3
Neptune
- 9F5D7A
≈ Rose Wine
- 757B36
≈ Calla Green
Split-complementary +150° +210°
- 337EA3
Neptune
- A55E5B
≈ Escalante
- 8F702D
≈ Marshy Green
Tetradic +90° +180° +270°
- 337EA3
Neptune
- 906295
≈ Aster Violetta
- A0653E
≈ Earth
- 538351
≈ Kilkenny
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.65:1 · APCA Lc 31
Best text color: #000000
WCAG 4.65:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--neptune: #337ea3;
--neptune-rgb: 51 126 163;
--neptune-oklch: oklch(0.563 0.093 233.4);
}
.element {
color: var(--neptune);
background-color: hsl(200 52% 42%);
border-color: oklch(0.563 0.093 233.4);
}Tailwind CSS v4
@theme {
--color-neptune: #337ea3;
--color-neptune-50: #ddfaff;
--color-neptune-100: #cbeeff;
--color-neptune-200: #afdbf7;
--color-neptune-300: #88c0e1;
--color-neptune-400: #63a8cd;
--color-neptune-500: #3c90ba;
--color-neptune-600: #347a9d;
--color-neptune-700: #29627e;
--color-neptune-800: #1b485d;
--color-neptune-900: #113241;
--color-neptune-950: #041e2a;
}SCSS
$neptune: #337ea3;
$neptune-rgb: 51, 126, 163;
$neptune-light: mix(#fff, $neptune, 20%);
$neptune-dark: mix(#000, $neptune, 20%);
.element {
color: $neptune;
box-shadow: 0 0 0 2px rgba($neptune, 0.35);
}