#222B86#222B86

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

Color values

HEX#222B86
RGBrgb(34, 43, 134)
HSLhsl(235, 60%, 33%)
HSVhsv(235, 75%, 53%)
CMYKcmyk(74.6%, 67.9%, 0%, 47.5%)
CIE-LABlab(22.96, 29.20, -51.89)
CIE-LCHlch(22.96, 59.55, 299.37°)
OKLaboklab(34.77% 0.004 -0.15)
OKLCHoklch(34.77% 0.15 271.5)
XYZxyz(5.8252, 3.7885, 22.9739)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B86 #867D22
analogous
#225D86 #222B86 #4B2286
triadic
#222B86 #86222B #2B8622
tetradic
#222B86 #86225D #867D22 #22864B
square
#222B86 #86225D #867D22 #22864B
split-complementary
#222B86 #864B22 #5D8622
monochromatic
#090C24 #161B55 #222B86 #2E3BB7 #505CD3

Accessibility & contrast

On white

11.95
#222B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222B86
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B86#FFFFFF#000000##FFFFFF
##222B861.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222b86;
/* rgb */ color: rgb(34, 43, 134);
/* oklch */ color: oklch(34.8% 0.150 271.5);
Tailwind
colors: {
  custom: {
    50: '#6d64aa',
    500: '#222b86',
    950: '#000000',
  },
}
SCSS
$custom: #222b86;
$custom-light: #6d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222b86",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 234.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34767,
    "c": 0.15007,
    "h": 271.5
  },
  "luminance": 0.03789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222B86

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

Preview Lab → · Contrast checker → · Palette generator →

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