#222B9F#222B9F

#222B9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.183 H 270.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#222B9F
RGBrgb(34, 43, 159)
HSLhsl(236, 65%, 38%)
HSVhsv(236, 79%, 62%)
CMYKcmyk(78.6%, 73%, 0%, 37.6%)
CIE-LABlab(25.47, 38.33, -63.20)
CIE-LCHlch(25.47, 73.91, 301.23°)
OKLaboklab(37.34% 0.0011 -0.183)
OKLCHoklch(37.34% 0.183 270.3)
XYZxyz(7.7794, 4.5702, 33.2663)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B9F #9F9622
analogous
#22699F #222B9F #57229F
triadic
#222B9F #9F222B #2B9F22
tetradic
#222B9F #9F2269 #9F9622 #229F57
square
#222B9F #9F2269 #9F9622 #229F57
split-complementary
#222B9F #9F5722 #699F22
monochromatic
#0C103A #171D6D #222B9F #2D39D1 #5F68DD

Accessibility & contrast

On white

10.97
#222B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B9F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B9F#FFFFFF#000000##FFFFFF
##222B9F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222b9f;
/* rgb */ color: rgb(34, 43, 159);
/* oklch */ color: oklch(37.3% 0.183 270.3);
Tailwind
colors: {
  custom: {
    50: '#7465bd',
    500: '#222b9f',
    950: '#000000',
  },
}
SCSS
$custom: #222b9f;
$custom-light: #7465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222b9f",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 235.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37344,
    "c": 0.18301,
    "h": 270.3
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#222B9F
secondary
#C1BA5B
accent
#DC40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222B9F

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

Preview Lab → · Contrast checker → · Palette generator →

#222B9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva