#12407D#12407D

#12407D is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.8% C 0.115 H 257.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#12407D
RGBrgb(18, 64, 125)
HSLhsl(214, 75%, 28%)
HSVhsv(214, 86%, 49%)
CMYKcmyk(85.6%, 48.8%, 0%, 51%)
CIE-LABlab(27.51, 9.14, -38.89)
CIE-LCHlch(27.51, 39.95, 283.22°)
OKLaboklab(37.77% -0.0254 -0.1118)
OKLCHoklch(37.77% 0.115 257.2)
XYZxyz(5.7832, 5.2753, 20.1115)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12407D #7D4F12
analogous
#12757D #12407D #1A127D
triadic
#12407D #7D1240 #407D12
tetradic
#12407D #7D1275 #7D4F12 #127D1A
square
#12407D #7D1275 #7D4F12 #127D1A
split-complementary
#12407D #7D1A12 #757D12
monochromatic
#040E1B #0A2548 #12407D #1A5BB2 #2978E0

Accessibility & contrast

On white

10.22
#12407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#12407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12407D
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12407D#FFFFFF#000000##FFFFFF
##12407D1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #12407d;
/* rgb */ color: rgb(18, 64, 125);
/* oklch */ color: oklch(37.8% 0.115 257.2);
Tailwind
colors: {
  custom: {
    50: '#6474a3',
    500: '#12407d',
    950: '#000000',
  },
}
SCSS
$custom: #12407d;
$custom-light: #6474a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12407d",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 214.206,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.11463,
    "h": 257.2
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#12407D
secondary
#B37E38
accent
#A136F1
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12407D

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

Preview Lab → · Contrast checker → · Palette generator →

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