#222B87#222B87

#222B87 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.151 H 271.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#222B87
RGBrgb(34, 43, 135)
HSLhsl(235, 60%, 33%)
HSVhsv(235, 75%, 53%)
CMYKcmyk(74.8%, 68.1%, 0%, 47.1%)
CIE-LABlab(23.06, 29.58, -52.36)
CIE-LCHlch(23.06, 60.14, 299.46°)
OKLaboklab(34.87% 0.0039 -0.1514)
OKLCHoklch(34.87% 0.151 271.5)
XYZxyz(5.8953, 3.8165, 23.3429)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B87 #877E22
analogous
#225E87 #222B87 #4B2287
triadic
#222B87 #87222B #2B8722
tetradic
#222B87 #87225E #877E22 #22874B
square
#222B87 #87225E #877E22 #22874B
split-complementary
#222B87 #874B22 #5E8722
monochromatic
#090C25 #161B56 #222B87 #2E3BB8 #505CD3

Accessibility & contrast

On white

11.91
#222B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#222B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B87
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B87#FFFFFF#000000##FFFFFF
##222B871.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222b87;
/* rgb */ color: rgb(34, 43, 135);
/* oklch */ color: oklch(34.9% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#6d64ab',
    500: '#222b87',
    950: '#000000',
  },
}
SCSS
$custom: #222b87;
$custom-light: #6d64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#222b87",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 234.653,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34867,
    "c": 0.15144,
    "h": 271.5
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#222B87
secondary
#B7AD4E
accent
#D545E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222B87

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

Preview Lab → · Contrast checker → · Palette generator →

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