#222B94#222B94

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

Color values

HEX#222B94
RGBrgb(34, 43, 148)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 58%)
CMYKcmyk(77%, 70.9%, 0%, 42%)
CIE-LABlab(24.34, 34.37, -58.33)
CIE-LCHlch(24.34, 67.70, 300.51°)
OKLaboklab(36.19% 0.0025 -0.1688)
OKLCHoklch(36.19% 0.169 270.9)
XYZxyz(6.8670, 4.2052, 28.4610)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B94 #948B22
analogous
#226494 #222B94 #522294
triadic
#222B94 #94222B #2B9422
tetradic
#222B94 #942264 #948B22 #229452
square
#222B94 #942264 #948B22 #229452
split-complementary
#222B94 #945222 #649422
monochromatic
#0B0E30 #171D62 #222B94 #2D39C6 #5862D9

Accessibility & contrast

On white

11.41
#222B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#222B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B94
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B94#FFFFFF#000000##FFFFFF
##222B941.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222b94;
/* rgb */ color: rgb(34, 43, 148);
/* oklch */ color: oklch(36.2% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#222b94',
    950: '#000000',
  },
}
SCSS
$custom: #222b94;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222b94",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 235.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.16884,
    "h": 270.9
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#222B94
secondary
#BDB555
accent
#D942E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B94

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

Preview Lab → · Contrast checker → · Palette generator →

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