#12407E#12407E

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

Color values

HEX#12407E
RGBrgb(18, 64, 126)
HSLhsl(214, 75%, 28%)
HSVhsv(214, 86%, 49%)
CMYKcmyk(85.7%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.58, 9.56, -39.40)
CIE-LCHlch(27.58, 40.55, 283.63°)
OKLaboklab(37.85% -0.0252 -0.1133)
OKLCHoklch(37.85% 0.116 257.4)
XYZxyz(5.8474, 5.3010, 20.4496)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12407E #7E5012
analogous
#12767E #12407E #1A127E
triadic
#12407E #7E1240 #407E12
tetradic
#12407E #7E1276 #7E5012 #127E1A
square
#12407E #7E1276 #7E5012 #127E1A
split-complementary
#12407E #7E1A12 #767E12
monochromatic
#040E1B #0A2548 #12407E #1A5BB4 #2A78E1

Accessibility & contrast

On white

10.19
#12407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12407E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12407E#FFFFFF#000000##FFFFFF
##12407E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #12407e;
/* rgb */ color: rgb(18, 64, 126);
/* oklch */ color: oklch(37.8% 0.116 257.4);
Tailwind
colors: {
  custom: {
    50: '#6474a4',
    500: '#12407e',
    950: '#000000',
  },
}
SCSS
$custom: #12407e;
$custom-light: #6474a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12407e",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 214.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37849,
    "c": 0.11607,
    "h": 257.4
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#12407E
secondary
#B47F38
accent
#A236F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12407E

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

Preview Lab → · Contrast checker → · Palette generator →

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