#12557E#12557E

#12557E is a dark, moderate cyan. Relative luminance 0.081; OKLCH L 43.1% C 0.093 H 241.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#12557E
RGBrgb(18, 85, 126)
HSLhsl(203, 75%, 28%)
HSVhsv(203, 86%, 49%)
CMYKcmyk(85.7%, 32.5%, 0%, 50.6%)
CIE-LABlab(34.25, -4.44, -28.76)
CIE-LCHlch(34.25, 29.10, 261.22°)
OKLaboklab(43.07% -0.044 -0.0816)
OKLCHoklch(43.07% 0.093 241.7)
XYZxyz(7.2624, 8.1310, 20.9213)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12557E #7E3B12
analogous
#127E71 #12557E #121F7E
triadic
#12557E #7E1255 #557E12
tetradic
#12557E #71127E #7E3B12 #1F7E12
square
#12557E #71127E #7E3B12 #1F7E12
split-complementary
#12557E #7E121F #7E7112
monochromatic
#04121B #0A3148 #12557E #1A79B4 #2A9BE1

Accessibility & contrast

On white

8.00
#12557E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#12557E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12557E
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12557E#FFFFFF#000000##FFFFFF
##12557E1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425680
Deuteranopia (green-blind)
#334C7D
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #12557e;
/* rgb */ color: rgb(18, 85, 126);
/* oklch */ color: oklch(43.1% 0.093 241.7);
Tailwind
colors: {
  custom: {
    50: '#6484a3',
    500: '#12557e',
    950: '#000000',
  },
}
SCSS
$custom: #12557e;
$custom-light: #6484a3;
$custom-dark: #000000;
JSON
{
  "hex": "#12557e",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 126
  },
  "hsl": {
    "h": 202.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.09274,
    "h": 241.7
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#12557E
secondary
#B46738
accent
#7D36F2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12557E

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

Preview Lab → · Contrast checker → · Palette generator →

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