#122444#122444

#122444 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.4% C 0.065 H 261.0°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#122444
RGBrgb(18, 36, 68)
HSLhsl(218, 58%, 17%)
HSVhsv(218, 74%, 27%)
CMYKcmyk(73.5%, 47.1%, 0%, 73.3%)
CIE-LABlab(14.44, 5.03, -22.40)
CIE-LCHlch(14.44, 22.95, 282.66°)
OKLaboklab(26.4% -0.0101 -0.0638)
OKLCHoklch(26.4% 0.065 261)
XYZxyz(1.9233, 1.8075, 5.7152)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122444 #443212
analogous
#123D44 #122444 #191244
triadic
#122444 #441224 #244412
tetradic
#122444 #44123D #443212 #124419
square
#122444 #44123D #443212 #124419
split-complementary
#122444 #441912 #3D4412
monochromatic
#060D18 #060D18 #122444 #1F3E74 #2C57A5

Accessibility & contrast

On white

15.42
#122444 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122444 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122444
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122444#FFFFFF#000000##FFFFFF
##1224441.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152745
Deuteranopia (green-blind)
#0E2243
Tritanopia (blue-blind)
#002B30
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122444;
/* rgb */ color: rgb(18, 36, 68);
/* oklch */ color: oklch(26.4% 0.065 261.0);
Tailwind
colors: {
  custom: {
    50: '#565e78',
    500: '#122444',
    950: '#000000',
  },
}
SCSS
$custom: #122444;
$custom-light: #565e78;
$custom-dark: #000000;
JSON
{
  "hex": "#122444",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 68
  },
  "hsl": {
    "h": 218.4,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.06464,
    "h": 261
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#122444
secondary
#7D6335
accent
#AA46E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122444

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

Preview Lab → · Contrast checker → · Palette generator →

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