#222E8F#222E8F

#222E8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.159 H 270.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#222E8F
RGBrgb(34, 46, 143)
HSLhsl(233, 62%, 35%)
HSVhsv(233, 76%, 56%)
CMYKcmyk(76.2%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.57, 30.59, -54.87)
CIE-LCHlch(24.57, 62.82, 299.14°)
OKLaboklab(36.2% 0.0013 -0.1587)
OKLCHoklch(36.2% 0.159 270.5)
XYZxyz(6.5929, 4.2765, 26.4593)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E8F #8F8322
analogous
#22658F #222E8F #4C228F
triadic
#222E8F #8F222E #2E8F22
tetradic
#222E8F #8F2265 #8F8322 #228F4C
square
#222E8F #8F2265 #8F8322 #228F4C
split-complementary
#222E8F #8F4C22 #658F22
monochromatic
#0A0E2C #161E5E #222E8F #2E3EC0 #5563D7

Accessibility & contrast

On white

11.32
#222E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#222E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E8F
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E8F#FFFFFF#000000##FFFFFF
##222E8F1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222e8f;
/* rgb */ color: rgb(34, 46, 143);
/* oklch */ color: oklch(36.2% 0.159 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f67b1',
    500: '#222e8f',
    950: '#000000',
  },
}
SCSS
$custom: #222e8f;
$custom-light: #6f67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#222e8f",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 233.394,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36202,
    "c": 0.15871,
    "h": 270.5
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#222E8F
secondary
#BAAF52
accent
#D343E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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