#122144#122144

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

Color values

HEX#122144
RGBrgb(18, 33, 68)
HSLhsl(222, 58%, 17%)
HSVhsv(222, 74%, 27%)
CMYKcmyk(73.5%, 51.5%, 0%, 73.3%)
CIE-LABlab(13.43, 7.30, -24.01)
CIE-LCHlch(13.43, 25.10, 286.91°)
OKLaboklab(25.62% -0.0065 -0.0686)
OKLCHoklch(25.62% 0.069 264.6)
XYZxyz(1.8363, 1.6335, 5.6862)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122144 #443512
analogous
#123A44 #122144 #1C1244
triadic
#122144 #441221 #214412
tetradic
#122144 #44123A #443512 #12441C
square
#122144 #44123A #443512 #12441C
split-complementary
#122144 #441C12 #3A4412
monochromatic
#060C18 #060C18 #122144 #1F3874 #2C50A5

Accessibility & contrast

On white

15.83
#122144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#122144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122144
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122144#FFFFFF#000000##FFFFFF
##1221441.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102545
Deuteranopia (green-blind)
#072043
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #122144;
/* rgb */ color: rgb(18, 33, 68);
/* oklch */ color: oklch(25.6% 0.069 264.6);
Tailwind
colors: {
  custom: {
    50: '#565b78',
    500: '#122144',
    950: '#000000',
  },
}
SCSS
$custom: #122144;
$custom-light: #565b78;
$custom-dark: #000000;
JSON
{
  "hex": "#122144",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 222,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.25624,
    "c": 0.06896,
    "h": 264.6
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#122144
secondary
#7D6735
accent
#B346E1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122144

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

Preview Lab → · Contrast checker → · Palette generator →

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