#12477F#12477F

#12477F is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.109 H 253.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#12477F
RGBrgb(18, 71, 127)
HSLhsl(211, 75%, 28%)
HSVhsv(211, 86%, 50%)
CMYKcmyk(85.8%, 44.1%, 0%, 50.2%)
CIE-LABlab(29.83, 5.15, -36.41)
CIE-LCHlch(29.83, 36.77, 278.06°)
OKLaboklab(39.62% -0.0309 -0.1043)
OKLCHoklch(39.62% 0.109 253.5)
XYZxyz(6.3320, 6.1666, 20.9311)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12477F #7F4A12
analogous
#127D7F #12477F #14127F
triadic
#12477F #7F1247 #477F12
tetradic
#12477F #7F127D #7F4A12 #127F14
square
#12477F #7F127D #7F4A12 #127F14
split-complementary
#12477F #7F1412 #7D7F12
monochromatic
#040F1B #0A2949 #12477F #1A65B5 #2B83E1

Accessibility & contrast

On white

9.40
#12477F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12477F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12477F#FFFFFF#000000##FFFFFF
##12477F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B81
Deuteranopia (green-blind)
#16427E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #12477f;
/* rgb */ color: rgb(18, 71, 127);
/* oklch */ color: oklch(39.6% 0.109 253.5);
Tailwind
colors: {
  custom: {
    50: '#6479a4',
    500: '#12477f',
    950: '#000000',
  },
}
SCSS
$custom: #12477f;
$custom-light: #6479a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12477f",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 127
  },
  "hsl": {
    "h": 210.826,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.1088,
    "h": 253.5
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12477F

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

Preview Lab → · Contrast checker → · Palette generator →

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