#122447#122447

#122447 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.6% C 0.070 H 262.2°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#122447
RGBrgb(18, 36, 71)
HSLhsl(220, 60%, 17%)
HSVhsv(220, 75%, 28%)
CMYKcmyk(74.6%, 49.3%, 0%, 72.2%)
CIE-LABlab(14.65, 6.31, -24.14)
CIE-LCHlch(14.65, 24.95, 284.66°)
OKLaboklab(26.63% -0.0094 -0.069)
OKLCHoklch(26.63% 0.07 262.2)
XYZxyz(2.0173, 1.8451, 6.2098)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122447 #473512
analogous
#123E47 #122447 #1B1247
triadic
#122447 #471224 #244712
tetradic
#122447 #47123E #473512 #12471B
square
#122447 #47123E #473512 #12471B
split-complementary
#122447 #471B12 #3E4712
monochromatic
#060C18 #060C18 #122447 #1E3D78 #2B56A9

Accessibility & contrast

On white

15.34
#122447 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122447 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122447
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122447#FFFFFF#000000##FFFFFF
##1224471.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132848
Deuteranopia (green-blind)
#0A2346
Tritanopia (blue-blind)
#002C32
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122447;
/* rgb */ color: rgb(18, 36, 71);
/* oklch */ color: oklch(26.6% 0.070 262.2);
Tailwind
colors: {
  custom: {
    50: '#575e7a',
    500: '#122447',
    950: '#000000',
  },
}
SCSS
$custom: #122447;
$custom-light: #575e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122447",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 71
  },
  "hsl": {
    "h": 219.623,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26631,
    "c": 0.0696,
    "h": 262.2
  },
  "luminance": 0.01845
}

Semantic roles & 50–950 ramp

primary
#122447
secondary
#806635
accent
#AD45E3
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122447

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

Preview Lab → · Contrast checker → · Palette generator →

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