#12406F#12406F

#12406F is a dark, moderate cyan. Relative luminance 0.049; OKLCH L 36.7% C 0.095 H 252.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#12406F
RGBrgb(18, 64, 111)
HSLhsl(210, 72%, 25%)
HSVhsv(210, 84%, 44%)
CMYKcmyk(83.8%, 42.3%, 0%, 56.5%)
CIE-LABlab(26.57, 3.24, -31.54)
CIE-LCHlch(26.57, 31.71, 275.87°)
OKLaboklab(36.75% -0.0285 -0.0902)
OKLCHoklch(36.75% 0.095 252.4)
XYZxyz(4.9510, 4.9425, 15.7289)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12406F #6F4112
analogous
#126E6F #12406F #13126F
triadic
#12406F #6F1240 #406F12
tetradic
#12406F #6F126E #6F4112 #126F13
square
#12406F #6F126E #6F4112 #126F13
split-complementary
#12406F #6F1312 #6E6F12
monochromatic
#040F1A #09223A #12406F #1B5EA4 #237DD8

Accessibility & contrast

On white

10.56
#12406F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#12406F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12406F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12406F#FFFFFF#000000##FFFFFF
##12406F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294371
Deuteranopia (green-blind)
#1A3B6E
Tritanopia (blue-blind)
#004B52
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #12406f;
/* rgb */ color: rgb(18, 64, 111);
/* oklch */ color: oklch(36.7% 0.095 252.4);
Tailwind
colors: {
  custom: {
    50: '#617498',
    500: '#12406f',
    950: '#000000',
  },
}
SCSS
$custom: #12406f;
$custom-light: #617498;
$custom-dark: #000000;
JSON
{
  "hex": "#12406f",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 210.323,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36746,
    "c": 0.09457,
    "h": 252.4
  },
  "luminance": 0.04943
}

Semantic roles & 50–950 ramp

primary
#12406F
secondary
#A66F37
accent
#9539EF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #12406F

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

Preview Lab → · Contrast checker → · Palette generator →

#12406F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva