#12557F#12557F

#12557F is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.1% C 0.094 H 242.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#12557F
RGBrgb(18, 85, 127)
HSLhsl(203, 75%, 28%)
HSVhsv(203, 86%, 50%)
CMYKcmyk(85.8%, 33.1%, 0%, 50.2%)
CIE-LABlab(34.31, -4.04, -29.30)
CIE-LCHlch(34.31, 29.57, 262.14°)
OKLaboklab(43.13% -0.0436 -0.0832)
OKLCHoklch(43.13% 0.094 242.3)
XYZxyz(7.3272, 8.1570, 21.2628)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12557F #7F3C12
analogous
#127F72 #12557F #121F7F
triadic
#12557F #7F1255 #557F12
tetradic
#12557F #72127F #7F3C12 #1F7F12
square
#12557F #72127F #7F3C12 #1F7F12
split-complementary
#12557F #7F121F #7F7212
monochromatic
#04121B #0A3149 #12557F #1A79B5 #2B9BE1

Accessibility & contrast

On white

7.98
#12557F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12557F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12557F#FFFFFF#000000##FFFFFF
##12557F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#324C7E
Tritanopia (blue-blind)
#005F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #12557f;
/* rgb */ color: rgb(18, 85, 127);
/* oklch */ color: oklch(43.1% 0.094 242.3);
Tailwind
colors: {
  custom: {
    50: '#6584a4',
    500: '#12557f',
    950: '#000000',
  },
}
SCSS
$custom: #12557f;
$custom-light: #6584a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12557f",
  "rgb": {
    "r": 18,
    "g": 85,
    "b": 127
  },
  "hsl": {
    "h": 203.119,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.43133,
    "c": 0.09396,
    "h": 242.3
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#12557F
secondary
#B56838
accent
#7E36F2
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#060A0F
muted
#7A7C7F

Preview Lab

Preview with #12557F

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

Preview Lab → · Contrast checker → · Palette generator →

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