#222B8A#222B8A

#222B8A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.156 H 271.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#222B8A
RGBrgb(34, 43, 138)
HSLhsl(235, 60%, 34%)
HSVhsv(235, 75%, 54%)
CMYKcmyk(75.4%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.35, 30.70, -53.76)
CIE-LCHlch(23.35, 61.91, 299.73°)
OKLaboklab(35.17% 0.0036 -0.1555)
OKLCHoklch(35.17% 0.156 271.3)
XYZxyz(6.1095, 3.9022, 24.4710)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B8A #8A8122
analogous
#225F8A #222B8A #4D228A
triadic
#222B8A #8A222B #2B8A22
tetradic
#222B8A #8A225F #8A8122 #228A4D
square
#222B8A #8A225F #8A8122 #228A4D
split-complementary
#222B8A #8A4D22 #5F8A22
monochromatic
#0A0C28 #161C59 #222B8A #2E3ABB #525DD4

Accessibility & contrast

On white

11.79
#222B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#222B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B8A
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B8A#FFFFFF#000000##FFFFFF
##222B8A1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222b8a;
/* rgb */ color: rgb(34, 43, 138);
/* oklch */ color: oklch(35.2% 0.156 271.3);
Tailwind
colors: {
  custom: {
    50: '#6e64ad',
    500: '#222b8a',
    950: '#000000',
  },
}
SCSS
$custom: #222b8a;
$custom-light: #6e64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#222b8a",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 234.808,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35166,
    "c": 0.15552,
    "h": 271.3
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#222B8A
secondary
#B8AF50
accent
#D644E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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