#222B8D#222B8D

#222B8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.160 H 271.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#222B8D
RGBrgb(34, 43, 141)
HSLhsl(235, 61%, 34%)
HSVhsv(235, 76%, 55%)
CMYKcmyk(75.9%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.64, 31.81, -55.15)
CIE-LCHlch(23.64, 63.66, 299.98°)
OKLaboklab(35.47% 0.0033 -0.1595)
OKLCHoklch(35.47% 0.16 271.2)
XYZxyz(6.3297, 3.9903, 25.6307)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B8D #8D8422
analogous
#22618D #222B8D #4F228D
triadic
#222B8D #8D222B #2B8D22
tetradic
#222B8D #8D2261 #8D8422 #228D4F
square
#222B8D #8D2261 #8D8422 #228D4F
split-complementary
#222B8D #8D4F22 #618D22
monochromatic
#0A0D2A #161C5C #222B8D #2E3ABE #545FD6

Accessibility & contrast

On white

11.68
#222B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#222B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B8D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B8D#FFFFFF#000000##FFFFFF
##222B8D1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222b8d;
/* rgb */ color: rgb(34, 43, 141);
/* oklch */ color: oklch(35.5% 0.160 271.2);
Tailwind
colors: {
  custom: {
    50: '#6f64af',
    500: '#222b8d',
    950: '#000000',
  },
}
SCSS
$custom: #222b8d;
$custom-light: #6f64af;
$custom-dark: #000000;
JSON
{
  "hex": "#222b8d",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 234.953,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35469,
    "c": 0.15956,
    "h": 271.2
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#222B8D
secondary
#B9B151
accent
#D744E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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