Nearest named color · #227EAC
#227EAC
Nearest named color: Neptune
#227EAC (rgb(34 126 172), hsl(200 67% 40%), oklch(0.562 0.109 235.9)) is closest to the named color Neptune. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#227EAC
oklch(0.562 0.109 235.9)
Color conversions
- HEX
- #227eac
- RGB
- rgb(34 126 172)
- HSL
- hsl(200 67% 40%)
- HWB
- hwb(200 13% 33%)
- OKLCH
- oklch(0.562 0.109 235.9)
- OKLab
- oklab(0.562 -0.061 -0.09)
- CIE Lab
- lab(49.27 -14.62 -32.57)
- LCH
- lch(49.27 35.7 245.8)
- CMYK
- cmyk(80% 27% 0% 33%)
Tints · Shades · Tones
Tints
- 3F8BB5
- 5797BD
- 6DA4C6
- 82B1CE
- 97BED6
- ACCBDF
- C0D8E7
- D5E5EF
- EAF2F7
Shades
- 1C6D95
- 165C7F
- 114C69
- 0B3C54
- 072D40
- 031F2D
- 01111B
- 00050B
- 000101
Tones
- 327FA8
- 3F7FA4
- 49809F
- 52809B
- 5B8097
- 638092
- 6B808E
- 728089
- 798085
Color harmonies
Complementary +180°
- 227EAC
Neptune
- A5622F
≈ Mai Tai
Analogous -30° +30°
- 227EAC
Neptune
- 008591
≈ True Teal
- 5772B5
≈ Prefect
Triadic +120° +240°
- 227EAC
Neptune
- A65877
≈ Cranbrook
- 727D28
≈ Ripe Green
Split-complementary +150° +210°
- 227EAC
Neptune
- AC5A53
≈ Artisan Red
- 927015
≈ Honey Yellow Green
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAOn white
WCAG 4.51:1 · APCA Lc 71
Ag
AAOn black
WCAG 4.64:1 · APCA Lc 31
Best text color: #000000
WCAG 4.64:1 (AA) · APCA Lc 31
Contrast pairs
Code snippets
CSS
:root {
--neptune: #227eac;
--neptune-rgb: 34 126 172;
--neptune-oklch: oklch(0.562 0.109 235.9);
}
.element {
color: var(--neptune);
background-color: hsl(200 67% 40%);
border-color: oklch(0.562 0.109 235.9);
}Tailwind CSS v4
@theme {
--color-neptune: #227eac;
--color-neptune-50: #d9fbff;
--color-neptune-100: #c7eeff;
--color-neptune-200: #a9dcfe;
--color-neptune-300: #81c0e9;
--color-neptune-400: #58a8d6;
--color-neptune-500: #2990c4;
--color-neptune-600: #257aa5;
--color-neptune-700: #1e6285;
--color-neptune-800: #114862;
--color-neptune-900: #0b3245;
--color-neptune-950: #001e2d;
}SCSS
$neptune: #227eac;
$neptune-rgb: 34, 126, 172;
$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);
}