#222E8B#222E8B

#222E8B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.153 H 270.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#222E8B
RGBrgb(34, 46, 139)
HSLhsl(233, 61%, 34%)
HSVhsv(233, 76%, 55%)
CMYKcmyk(75.5%, 66.9%, 0%, 45.5%)
CIE-LABlab(24.19, 29.09, -53.01)
CIE-LCHlch(24.19, 60.46, 298.76°)
OKLaboklab(35.81% 0.0016 -0.1533)
OKLCHoklch(35.81% 0.153 270.6)
XYZxyz(6.2953, 4.1575, 24.8918)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E8B #8B7F22
analogous
#22638B #222E8B #4B228B
triadic
#222E8B #8B222E #2E8B22
tetradic
#222E8B #8B2263 #8B7F22 #228B4B
square
#222E8B #8B2263 #8B7F22 #228B4B
split-complementary
#222E8B #8B4B22 #638B22
monochromatic
#0A0D29 #161E5A #222E8B #2E3EBC #5361D5

Accessibility & contrast

On white

11.47
#222E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222E8B
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E8B#FFFFFF#000000##FFFFFF
##222E8B1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222e8b;
/* rgb */ color: rgb(34, 46, 139);
/* oklch */ color: oklch(35.8% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e66ae',
    500: '#222e8b',
    950: '#000000',
  },
}
SCSS
$custom: #222e8b;
$custom-light: #6e66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#222e8b",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 233.143,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35808,
    "c": 0.15327,
    "h": 270.6
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#222E8B
secondary
#B8AD50
accent
#D244E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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