#12487E#12487E

#12487E is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.106 H 252.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#12487E
RGBrgb(18, 72, 126)
HSLhsl(210, 75%, 28%)
HSVhsv(210, 86%, 49%)
CMYKcmyk(85.7%, 42.9%, 0%, 50.6%)
CIE-LABlab(30.08, 4.06, -35.39)
CIE-LCHlch(30.08, 35.62, 276.55°)
OKLaboklab(39.79% -0.032 -0.1013)
OKLCHoklch(39.79% 0.106 252.5)
XYZxyz(6.3313, 6.2689, 20.6109)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12487E #7E4812
analogous
#127E7E #12487E #12127E
triadic
#12487E #7E1248 #487E12
tetradic
#12487E #7E127E #7E4812 #127E12
square
#12487E #7E127E #7E4812 #127E12
split-complementary
#12487E #7E1212 #7E7E12
monochromatic
#040F1B #0A2948 #12487E #1A67B4 #2A85E1

Accessibility & contrast

On white

9.32
#12487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#12487E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12487E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12487E#FFFFFF#000000##FFFFFF
##12487E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#1A427D
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12487e;
/* rgb */ color: rgb(18, 72, 126);
/* oklch */ color: oklch(39.8% 0.106 252.5);
Tailwind
colors: {
  custom: {
    50: '#647aa4',
    500: '#12487e',
    950: '#000000',
  },
}
SCSS
$custom: #12487e;
$custom-light: #647aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#12487e",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 210,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.10622,
    "h": 252.5
  },
  "luminance": 0.0627
}

Semantic roles & 50–950 ramp

primary
#12487E
secondary
#B47638
accent
#9436F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #12487E

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

Preview Lab → · Contrast checker → · Palette generator →

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