#12477E#12477E

#12477E is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 39.5% C 0.107 H 253.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#12477E
RGBrgb(18, 71, 126)
HSLhsl(211, 75%, 28%)
HSVhsv(211, 86%, 49%)
CMYKcmyk(85.7%, 43.7%, 0%, 50.6%)
CIE-LABlab(29.76, 4.74, -35.89)
CIE-LCHlch(29.76, 36.20, 277.52°)
OKLaboklab(39.55% -0.0311 -0.1028)
OKLCHoklch(39.55% 0.107 253.2)
XYZxyz(6.2672, 6.1407, 20.5896)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12477E #7E4912
analogous
#127D7E #12477E #13127E
triadic
#12477E #7E1247 #477E12
tetradic
#12477E #7E127D #7E4912 #127E13
square
#12477E #7E127D #7E4912 #127E13
split-complementary
#12477E #7E1312 #7D7E12
monochromatic
#040F1B #0A2948 #12477E #1A65B4 #2A84E1

Accessibility & contrast

On white

9.42
#12477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#12477E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12477E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12477E#FFFFFF#000000##FFFFFF
##12477E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12477e;
/* rgb */ color: rgb(18, 71, 126);
/* oklch */ color: oklch(39.5% 0.107 253.2);
Tailwind
colors: {
  custom: {
    50: '#6479a4',
    500: '#12477e',
    950: '#000000',
  },
}
SCSS
$custom: #12477e;
$custom-light: #6479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12477e",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 210.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39545,
    "c": 0.10741,
    "h": 253.2
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#12477E
secondary
#B47738
accent
#9636F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #12477E

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

Preview Lab → · Contrast checker → · Palette generator →

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