#12417D#12417D

#12417D is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 38.0% C 0.113 H 256.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#12417D
RGBrgb(18, 65, 125)
HSLhsl(214, 75%, 28%)
HSVhsv(214, 86%, 49%)
CMYKcmyk(85.6%, 48%, 0%, 51%)
CIE-LABlab(27.82, 8.44, -38.39)
CIE-LCHlch(27.82, 39.31, 282.40°)
OKLaboklab(38.01% -0.0262 -0.1103)
OKLCHoklch(38.01% 0.113 256.6)
XYZxyz(5.8400, 5.3891, 20.1305)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12417D #7D4E12
analogous
#12767D #12417D #19127D
triadic
#12417D #7D1241 #417D12
tetradic
#12417D #7D1276 #7D4E12 #127D19
square
#12417D #7D1276 #7D4E12 #127D19
split-complementary
#12417D #7D1912 #767D12
monochromatic
#040E1B #0A2548 #12417D #1A5DB2 #297AE0

Accessibility & contrast

On white

10.11
#12417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12417D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12417D#FFFFFF#000000##FFFFFF
##12417D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20477F
Deuteranopia (green-blind)
#033D7C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12417d;
/* rgb */ color: rgb(18, 65, 125);
/* oklch */ color: oklch(38.0% 0.113 256.6);
Tailwind
colors: {
  custom: {
    50: '#6475a3',
    500: '#12417d',
    950: '#000000',
  },
}
SCSS
$custom: #12417d;
$custom-light: #6475a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12417d",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 213.645,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38012,
    "c": 0.11336,
    "h": 256.6
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#12417D
secondary
#B37D38
accent
#9F36F1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12417D

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

Preview Lab → · Contrast checker → · Palette generator →

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