#222A88#222A88

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

Color values

HEX#222A88
RGBrgb(34, 42, 136)
HSLhsl(235, 60%, 33%)
HSVhsv(235, 75%, 53%)
CMYKcmyk(75%, 69.1%, 0%, 46.7%)
CIE-LABlab(22.91, 30.61, -53.23)
CIE-LCHlch(22.91, 61.41, 299.90°)
OKLaboklab(34.79% 0.0044 -0.1539)
OKLCHoklch(34.79% 0.154 271.6)
XYZxyz(5.9301, 3.7730, 23.7035)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A88 #888022
analogous
#225D88 #222A88 #4D2288
triadic
#222A88 #88222A #2A8822
tetradic
#222A88 #88225D #888022 #22884D
square
#222A88 #88225D #888022 #22884D
split-complementary
#222A88 #884D22 #5D8822
monochromatic
#0A0C26 #161B57 #222A88 #2E39B9 #515BD3

Accessibility & contrast

On white

11.97
#222A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#222A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A88
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A88#FFFFFF#000000##FFFFFF
##222A881.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #222a88;
/* rgb */ color: rgb(34, 42, 136);
/* oklch */ color: oklch(34.8% 0.154 271.6);
Tailwind
colors: {
  custom: {
    50: '#6e64ac',
    500: '#222a88',
    950: '#000000',
  },
}
SCSS
$custom: #222a88;
$custom-light: #6e64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222a88",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 235.294,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34788,
    "c": 0.154,
    "h": 271.6
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#222A88
secondary
#B7AF4F
accent
#D745E3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222A88

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

Preview Lab → · Contrast checker → · Palette generator →

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