#122047#122047

#122047 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.075 H 266.3°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#122047
RGBrgb(18, 32, 71)
HSLhsl(224, 60%, 17%)
HSVhsv(224, 75%, 28%)
CMYKcmyk(74.6%, 54.9%, 0%, 72.2%)
CIE-LABlab(13.33, 9.35, -26.26)
CIE-LCHlch(13.33, 27.87, 289.59°)
OKLaboklab(25.62% -0.0049 -0.0753)
OKLCHoklch(25.62% 0.075 266.3)
XYZxyz(1.9029, 1.6164, 6.1717)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122047 #473912
analogous
#123B47 #122047 #1E1247
triadic
#122047 #471220 #204712
tetradic
#122047 #47123B #473912 #12471E
square
#122047 #47123B #473912 #12471E
split-complementary
#122047 #471E12 #3B4712
monochromatic
#060B18 #060B18 #122047 #1E3678 #2B4CA9

Accessibility & contrast

On white

15.87
#122047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#122047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122047
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122047#FFFFFF#000000##FFFFFF
##1220471.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2548
Deuteranopia (green-blind)
#012046
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #122047;
/* rgb */ color: rgb(18, 32, 71);
/* oklch */ color: oklch(25.6% 0.075 266.3);
Tailwind
colors: {
  custom: {
    50: '#575b7a',
    500: '#122047',
    950: '#000000',
  },
}
SCSS
$custom: #122047;
$custom-light: #575b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122047",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 71
  },
  "hsl": {
    "h": 224.151,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.25617,
    "c": 0.07544,
    "h": 266.3
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#122047
secondary
#806C35
accent
#B945E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122047

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

Preview Lab → · Contrast checker → · Palette generator →

#122047 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva