Nearest named color · #337DA5
#337DA5
Nearest named color: Neptune
#337DA5 (rgb(51 125 165), hsl(201 53% 42%), oklch(0.561 0.095 235.8)) is closest to the named color Neptune. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#337DA5
oklch(0.561 0.095 235.8)
Color conversions
- HEX
- #337da5
- RGB
- rgb(51 125 165)
- HSL
- hsl(201 53% 42%)
- HWB
- hwb(201 20% 35%)
- OKLCH
- oklch(0.561 0.095 235.8)
- OKLab
- oklab(0.561 -0.054 -0.079)
- CIE Lab
- lab(49.15 -13.58 -28.66)
- LCH
- lch(49.15 31.71 244.6)
- CMYK
- cmyk(69% 24% 0% 35%)
Tints · Shades · Tones
Tints
- 4A8AAE
- 5F96B7
- 73A3C0
- 87B0C9
- 9BBDD2
- AFCADB
- C3D7E4
- D7E4ED
- EBF2F6
Shades
- 2B6C8F
- 235B79
- 1C4B65
- 143B51
- 0D2C3D
- 071E2B
- 03111A
- 01050A
- 000101
Tones
- 3E7EA2
- 477E9E
- 507F9A
- 587F97
- 5F7F93
- 66808F
- 6D808C
- 748088
- 7A8084
Color harmonies
Complementary +180°
- 337DA5
Neptune
- 9F653A
≈ Earth
Analogous -30° +30°
- 337DA5
Neptune
- 048490
≈ True Teal
- 5A73AD
≈ Prefect
Triadic +120° +240°
- 337DA5
Neptune
- A15C77
≈ Rose Wine
- 727C35
≈ Calla Green
Split-complementary +150° +210°
- 337DA5
Neptune
- A65D57
≈ Cheek Red
- 8E7029
≈ Corn Harvest
Tetradic +90° +180° +270°
- 337DA5
Neptune
- 926093
≈ Aster Violetta
- 9F653A
≈ Earth
- 4E8452
≈ Kilkenny
Contrast & accessibility
Ag
AAOn white
WCAG 4.54:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.61:1 · APCA Lc 30
Best text color: #000000
WCAG 4.61:1 (AA) · APCA Lc 30
Contrast pairs
Code snippets
CSS
:root {
--neptune: #337da5;
--neptune-rgb: 51 125 165;
--neptune-oklch: oklch(0.561 0.095 235.8);
}
.element {
color: var(--neptune);
background-color: hsl(201 53% 42%);
border-color: oklch(0.561 0.095 235.8);
}Tailwind CSS v4
@theme {
--color-neptune: #337da5;
--color-neptune-50: #ddfaff;
--color-neptune-100: #cbedff;
--color-neptune-200: #afdbf9;
--color-neptune-300: #89bfe3;
--color-neptune-400: #63a7cf;
--color-neptune-500: #3c8fbd;
--color-neptune-600: #34799f;
--color-neptune-700: #2a6180;
--color-neptune-800: #1b485e;
--color-neptune-900: #123242;
--color-neptune-950: #041d2a;
}SCSS
$neptune: #337da5;
$neptune-rgb: 51, 125, 165;
$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);
}