#12578F#12578F

#12578F is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.6% C 0.112 H 248.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#12578F
RGBrgb(18, 87, 143)
HSLhsl(207, 78%, 32%)
HSVhsv(207, 87%, 56%)
CMYKcmyk(87.4%, 39.2%, 0%, 43.9%)
CIE-LABlab(35.84, 1.12, -36.65)
CIE-LCHlch(35.84, 36.67, 271.76°)
OKLaboklab(44.64% -0.0407 -0.1047)
OKLCHoklch(44.64% 0.112 248.8)
XYZxyz(8.6137, 8.9271, 27.2504)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12578F #8F4A12
analogous
#128F89 #12578F #12198F
triadic
#12578F #8F1257 #578F12
tetradic
#12578F #89128F #8F4A12 #198F12
square
#12578F #89128F #8F4A12 #198F12
split-complementary
#12578F #8F1219 #8F8912
monochromatic
#041522 #0B3659 #12578F #1978C5 #3697E6

Accessibility & contrast

On white

7.54
#12578F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#12578F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12578F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12578F#FFFFFF#000000##FFFFFF
##12578F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A91
Deuteranopia (green-blind)
#284F8E
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #12578f;
/* rgb */ color: rgb(18, 87, 143);
/* oklch */ color: oklch(44.6% 0.112 248.8);
Tailwind
colors: {
  custom: {
    50: '#6886b0',
    500: '#12578f',
    950: '#000000',
  },
}
SCSS
$custom: #12578f;
$custom-light: #6886b0;
$custom-dark: #000000;
JSON
{
  "hex": "#12578f",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 143
  },
  "hsl": {
    "h": 206.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44636,
    "c": 0.11232,
    "h": 248.8
  },
  "luminance": 0.08928
}

Semantic roles & 50–950 ramp

primary
#12578F
secondary
#C3773A
accent
#8A34F4
background
#F6F8FA
surface
#ECEFF5
border
#C7CACF
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #12578F

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

Preview Lab → · Contrast checker → · Palette generator →

#12578F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva