#22244F#22244F

#22244F is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.4% C 0.077 H 278.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#22244F
RGBrgb(34, 36, 79)
HSLhsl(237, 40%, 22%)
HSVhsv(237, 57%, 31%)
CMYKcmyk(57%, 54.4%, 0%, 69%)
CIE-LABlab(16.34, 13.21, -26.85)
CIE-LCHlch(16.34, 29.92, 296.19°)
OKLaboklab(28.39% 0.0111 -0.0765)
OKLCHoklch(28.39% 0.077 278.3)
XYZxyz(2.7014, 2.1662, 7.6714)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22244F #4F4D22
analogous
#223B4F #22244F #37224F
triadic
#22244F #4F2224 #244F22
tetradic
#22244F #4F223B #4F4D22 #224F37
square
#22244F #4F223B #4F4D22 #224F37
split-complementary
#22244F #4F3722 #3B4F22
monochromatic
#090A15 #101124 #22244F #34377A #474BA5

Accessibility & contrast

On white

14.65
#22244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#22244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22244F
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22244F#FFFFFF#000000##FFFFFF
##22244F1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102A51
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#0F2D35
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #22244f;
/* rgb */ color: rgb(34, 36, 79);
/* oklch */ color: oklch(28.4% 0.077 278.3);
Tailwind
colors: {
  custom: {
    50: '#615e81',
    500: '#22244f',
    950: '#000000',
  },
}
SCSS
$custom: #22244f;
$custom-light: #615e81;
$custom-dark: #000000;
JSON
{
  "hex": "#22244f",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 237.333,
    "s": 39.823,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28391,
    "c": 0.07733,
    "h": 278.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#22244F
secondary
#83804A
accent
#CA58D0
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #22244F

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

Preview Lab → · Contrast checker → · Palette generator →

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