#222B93#222B93

#222B93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.168 H 270.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#222B93
RGBrgb(34, 43, 147)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 77%, 58%)
CMYKcmyk(76.9%, 70.7%, 0%, 42.4%)
CIE-LABlab(24.24, 34.01, -57.88)
CIE-LCHlch(24.24, 67.13, 300.44°)
OKLaboklab(36.08% 0.0026 -0.1675)
OKLCHoklch(36.08% 0.168 270.9)
XYZxyz(6.7882, 4.1737, 28.0460)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B93 #938A22
analogous
#226393 #222B93 #512293
triadic
#222B93 #93222B #2B9322
tetradic
#222B93 #932263 #938A22 #229351
square
#222B93 #932263 #938A22 #229351
split-complementary
#222B93 #935122 #639322
monochromatic
#0B0E30 #171C61 #222B93 #2D3AC5 #5761D8

Accessibility & contrast

On white

11.45
#222B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222B93
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B93#FFFFFF#000000##FFFFFF
##222B931.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222b93;
/* rgb */ color: rgb(34, 43, 147);
/* oklch */ color: oklch(36.1% 0.168 270.9);
Tailwind
colors: {
  custom: {
    50: '#7065b4',
    500: '#222b93',
    950: '#000000',
  },
}
SCSS
$custom: #222b93;
$custom-light: #7065b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222b93",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 235.221,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36084,
    "c": 0.16752,
    "h": 270.9
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#222B93
secondary
#BCB455
accent
#D842E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B93

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

Preview Lab → · Contrast checker → · Palette generator →

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