#222E88#222E88

#222E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.149 H 270.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#222E88
RGBrgb(34, 46, 136)
HSLhsl(233, 60%, 33%)
HSVhsv(233, 75%, 53%)
CMYKcmyk(75%, 66.2%, 0%, 46.7%)
CIE-LABlab(23.90, 27.95, -51.60)
CIE-LCHlch(23.90, 58.68, 298.45°)
OKLaboklab(35.52% 0.0018 -0.1491)
OKLCHoklch(35.52% 0.149 270.7)
XYZxyz(6.0791, 4.0710, 23.7532)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E88 #887C22
analogous
#226188 #222E88 #492288
triadic
#222E88 #88222E #2E8822
tetradic
#222E88 #882261 #887C22 #228849
square
#222E88 #882261 #887C22 #228849
split-complementary
#222E88 #884922 #618822
monochromatic
#0A0D26 #161D57 #222E88 #2E3FB9 #5160D3

Accessibility & contrast

On white

11.57
#222E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E88
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E88#FFFFFF#000000##FFFFFF
##222E881.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003486
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222e88;
/* rgb */ color: rgb(34, 46, 136);
/* oklch */ color: oklch(35.5% 0.149 270.7);
Tailwind
colors: {
  custom: {
    50: '#6d66ac',
    500: '#222e88',
    950: '#000000',
  },
}
SCSS
$custom: #222e88;
$custom-light: #6d66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222e88",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 232.941,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35517,
    "c": 0.14914,
    "h": 270.7
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#222E88
secondary
#B7AB4F
accent
#D145E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E88

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

Preview Lab → · Contrast checker → · Palette generator →

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