#222D9B#222D9B

#222D9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.176 H 270.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#222D9B
RGBrgb(34, 45, 155)
HSLhsl(235, 64%, 37%)
HSVhsv(235, 78%, 61%)
CMYKcmyk(78.1%, 71%, 0%, 39.2%)
CIE-LABlab(25.51, 35.65, -60.69)
CIE-LCHlch(25.51, 70.39, 300.43°)
OKLaboklab(37.25% 0.0007 -0.1757)
OKLCHoklch(37.25% 0.176 270.2)
XYZxyz(7.5124, 4.5826, 31.4926)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D9B #9B9022
analogous
#226A9B #222D9B #53229B
triadic
#222D9B #9B222D #2D9B22
tetradic
#222D9B #9B226A #9B9022 #229B53
square
#222D9B #9B226A #9B9022 #229B53
split-complementary
#222D9B #9B5322 #6A9B22
monochromatic
#0C1037 #171E69 #222D9B #2D3CCD #5C68DB

Accessibility & contrast

On white

10.96
#222D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#222D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D9B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D9B#FFFFFF#000000##FFFFFF
##222D9B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222d9b;
/* rgb */ color: rgb(34, 45, 155);
/* oklch */ color: oklch(37.2% 0.176 270.2);
Tailwind
colors: {
  custom: {
    50: '#7266ba',
    500: '#222d9b',
    950: '#000000',
  },
}
SCSS
$custom: #222d9b;
$custom-light: #7266ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222d9b",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 234.545,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.17572,
    "h": 270.2
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#222D9B
secondary
#C0B659
accent
#D841E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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