#222B92#222B92

#222B92 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.166 H 270.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#222B92
RGBrgb(34, 43, 146)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 77%, 57%)
CMYKcmyk(76.7%, 70.5%, 0%, 42.7%)
CIE-LABlab(24.14, 33.65, -57.43)
CIE-LCHlch(24.14, 66.56, 300.37°)
OKLaboklab(35.98% 0.0028 -0.1662)
OKLCHoklch(35.98% 0.166 270.9)
XYZxyz(6.7101, 4.1424, 27.6345)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B92 #928922
analogous
#226392 #222B92 #512292
triadic
#222B92 #92222B #2B9222
tetradic
#222B92 #922263 #928922 #229251
square
#222B92 #922263 #928922 #229251
split-complementary
#222B92 #925122 #639222
monochromatic
#0B0E2F #161C60 #222B92 #2E3AC4 #5761D8

Accessibility & contrast

On white

11.48
#222B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222B92
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B92#FFFFFF#000000##FFFFFF
##222B921.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222b92;
/* rgb */ color: rgb(34, 43, 146);
/* oklch */ color: oklch(36.0% 0.166 270.9);
Tailwind
colors: {
  custom: {
    50: '#7065b3',
    500: '#222b92',
    950: '#000000',
  },
}
SCSS
$custom: #222b92;
$custom-light: #7065b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222b92",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 235.179,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.16621,
    "h": 270.9
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#222B92
secondary
#BCB354
accent
#D843E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B92

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

Preview Lab → · Contrast checker → · Palette generator →

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