#12407B#12407B

#12407B is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.6% C 0.112 H 256.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#12407B
RGBrgb(18, 64, 123)
HSLhsl(214, 74%, 28%)
HSVhsv(214, 85%, 48%)
CMYKcmyk(85.4%, 48%, 0%, 51.8%)
CIE-LABlab(27.37, 8.29, -37.86)
CIE-LCHlch(27.37, 38.76, 282.35°)
OKLaboklab(37.62% -0.0258 -0.1087)
OKLCHoklch(37.62% 0.112 256.7)
XYZxyz(5.6567, 5.2248, 19.4454)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12407B #7B4D12
analogous
#12757B #12407B #18127B
triadic
#12407B #7B1240 #407B12
tetradic
#12407B #7B1275 #7B4D12 #127B18
square
#12407B #7B1275 #7B4D12 #127B18
split-complementary
#12407B #7B1812 #757B12
monochromatic
#040E1B #0A2446 #12407B #1A5CB0 #2878E0

Accessibility & contrast

On white

10.27
#12407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#12407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12407B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12407B#FFFFFF#000000##FFFFFF
##12407B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#043C7A
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #12407b;
/* rgb */ color: rgb(18, 64, 123);
/* oklch */ color: oklch(37.6% 0.112 256.7);
Tailwind
colors: {
  custom: {
    50: '#6474a2',
    500: '#12407b',
    950: '#000000',
  },
}
SCSS
$custom: #12407b;
$custom-light: #6474a2;
$custom-dark: #000000;
JSON
{
  "hex": "#12407b",
  "rgb": {
    "r": 18,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 213.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.11176,
    "h": 256.7
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#12407B
secondary
#B17C38
accent
#9F37F1
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12407B

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

Preview Lab → · Contrast checker → · Palette generator →

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