#12577E#12577E

#12577E is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.6% C 0.091 H 239.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#12577E
RGBrgb(18, 87, 126)
HSLhsl(202, 75%, 28%)
HSVhsv(202, 86%, 49%)
CMYKcmyk(85.7%, 31%, 0%, 50.6%)
CIE-LABlab(34.90, -5.70, -27.74)
CIE-LCHlch(34.90, 28.32, 258.39°)
OKLaboklab(43.59% -0.0459 -0.0786)
OKLCHoklch(43.59% 0.091 239.7)
XYZxyz(7.4220, 8.4504, 20.9745)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12577E #7E3912
analogous
#127E6F #12577E #12217E
triadic
#12577E #7E1257 #577E12
tetradic
#12577E #6F127E #7E3912 #217E12
square
#12577E #6F127E #7E3912 #217E12
split-complementary
#12577E #7E1221 #7E6F12
monochromatic
#04121B #0A3248 #12577E #1A7CB4 #2A9FE1

Accessibility & contrast

On white

7.81
#12577E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#12577E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12577E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12577E#FFFFFF#000000##FFFFFF
##12577E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445780
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #12577e;
/* rgb */ color: rgb(18, 87, 126);
/* oklch */ color: oklch(43.6% 0.091 239.7);
Tailwind
colors: {
  custom: {
    50: '#6586a3',
    500: '#12577e',
    950: '#000000',
  },
}
SCSS
$custom: #12577e;
$custom-light: #6586a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12577e",
  "rgb": {
    "r": 18,
    "g": 87,
    "b": 126
  },
  "hsl": {
    "h": 201.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.09106,
    "h": 239.7
  },
  "luminance": 0.08451
}

Semantic roles & 50–950 ramp

primary
#12577E
secondary
#B46538
accent
#7A36F2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#060B0F
muted
#7A7C7F

Preview Lab

Preview with #12577E

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

Preview Lab → · Contrast checker → · Palette generator →

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