#12457E#12457E

#12457E is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.1% C 0.110 H 254.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#12457E
RGBrgb(18, 69, 126)
HSLhsl(212, 75%, 28%)
HSVhsv(212, 86%, 49%)
CMYKcmyk(85.7%, 45.2%, 0%, 50.6%)
CIE-LABlab(29.13, 6.10, -36.90)
CIE-LCHlch(29.13, 37.40, 279.39°)
OKLaboklab(39.06% -0.0294 -0.1058)
OKLCHoklch(39.06% 0.11 254.5)
XYZxyz(6.1421, 5.8904, 20.5479)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12457E #7E4B12
analogous
#127B7E #12457E #15127E
triadic
#12457E #7E1245 #457E12
tetradic
#12457E #7E127B #7E4B12 #127E15
square
#12457E #7E127B #7E4B12 #127E15
split-complementary
#12457E #7E1512 #7B7E12
monochromatic
#040F1B #0A2848 #12457E #1A62B4 #2A80E1

Accessibility & contrast

On white

9.64
#12457E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#12457E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12457E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12457E#FFFFFF#000000##FFFFFF
##12457E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#12407D
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12457e;
/* rgb */ color: rgb(18, 69, 126);
/* oklch */ color: oklch(39.1% 0.110 254.5);
Tailwind
colors: {
  custom: {
    50: '#6478a4',
    500: '#12457e',
    950: '#000000',
  },
}
SCSS
$custom: #12457e;
$custom-light: #6478a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12457e",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 211.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39055,
    "c": 0.10982,
    "h": 254.5
  },
  "luminance": 0.05891
}

Semantic roles & 50–950 ramp

primary
#12457E
secondary
#B47938
accent
#9936F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12457E

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

Preview Lab → · Contrast checker → · Palette generator →

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