#12417E#12417E

#12417E is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 38.1% C 0.115 H 256.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#12417E
RGBrgb(18, 65, 126)
HSLhsl(214, 75%, 28%)
HSVhsv(214, 86%, 49%)
CMYKcmyk(85.7%, 48.4%, 0%, 50.6%)
CIE-LABlab(27.89, 8.86, -38.91)
CIE-LCHlch(27.89, 39.90, 282.83°)
OKLaboklab(38.09% -0.026 -0.1118)
OKLCHoklch(38.09% 0.115 256.9)
XYZxyz(5.9042, 5.4148, 20.4686)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12417E #7E4F12
analogous
#12777E #12417E #19127E
triadic
#12417E #7E1241 #417E12
tetradic
#12417E #7E1277 #7E4F12 #127E19
square
#12417E #7E1277 #7E4F12 #127E19
split-complementary
#12417E #7E1912 #777E12
monochromatic
#040E1B #0A2548 #12417E #1A5DB4 #2A79E1

Accessibility & contrast

On white

10.08
#12417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#12417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12417E
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12417E#FFFFFF#000000##FFFFFF
##12417E1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4780
Deuteranopia (green-blind)
#013D7D
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12417e;
/* rgb */ color: rgb(18, 65, 126);
/* oklch */ color: oklch(38.1% 0.115 256.9);
Tailwind
colors: {
  custom: {
    50: '#6475a4',
    500: '#12417e',
    950: '#000000',
  },
}
SCSS
$custom: #12417e;
$custom-light: #6475a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12417e",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 213.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.11479,
    "h": 256.9
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

primary
#12417E
secondary
#B47E38
accent
#A036F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12417E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#12417E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva