#222E8A#222E8A

#222E8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.152 H 270.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#222E8A
RGBrgb(34, 46, 138)
HSLhsl(233, 60%, 34%)
HSVhsv(233, 75%, 54%)
CMYKcmyk(75.4%, 66.7%, 0%, 45.9%)
CIE-LABlab(24.09, 28.71, -52.54)
CIE-LCHlch(24.09, 59.87, 298.66°)
OKLaboklab(35.71% 0.0016 -0.1519)
OKLCHoklch(35.71% 0.152 270.6)
XYZxyz(6.2226, 4.1284, 24.5087)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E8A #8A7E22
analogous
#22628A #222E8A #4A228A
triadic
#222E8A #8A222E #2E8A22
tetradic
#222E8A #8A2262 #8A7E22 #228A4A
square
#222E8A #8A2262 #8A7E22 #228A4A
split-complementary
#222E8A #8A4A22 #628A22
monochromatic
#0A0D28 #161E59 #222E8A #2E3EBB #5261D4

Accessibility & contrast

On white

11.50
#222E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#222E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E8A
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E8A#FFFFFF#000000##FFFFFF
##222E8A1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222e8a;
/* rgb */ color: rgb(34, 46, 138);
/* oklch */ color: oklch(35.7% 0.152 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e66ad',
    500: '#222e8a',
    950: '#000000',
  },
}
SCSS
$custom: #222e8a;
$custom-light: #6e66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#222e8a",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 233.077,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35711,
    "c": 0.1519,
    "h": 270.6
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#222E8A
secondary
#B8AC50
accent
#D144E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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