#222B98#222B98

#222B98 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.174 H 270.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#222B98
RGBrgb(34, 43, 152)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 78%, 60%)
CMYKcmyk(77.6%, 71.7%, 0%, 40.4%)
CIE-LABlab(24.75, 35.82, -60.12)
CIE-LCHlch(24.75, 69.98, 300.79°)
OKLaboklab(36.6% 0.002 -0.174)
OKLCHoklch(36.6% 0.174 270.7)
XYZxyz(7.1891, 4.3340, 30.1573)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B98 #988F22
analogous
#226698 #222B98 #542298
triadic
#222B98 #98222B #2B9822
tetradic
#222B98 #982266 #988F22 #229854
square
#222B98 #982266 #988F22 #229854
split-complementary
#222B98 #985422 #669822
monochromatic
#0C0F34 #171D66 #222B98 #2D39CA #5A64DA

Accessibility & contrast

On white

11.25
#222B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#222B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B98
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B98#FFFFFF#000000##FFFFFF
##222B981.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222b98;
/* rgb */ color: rgb(34, 43, 152);
/* oklch */ color: oklch(36.6% 0.174 270.7);
Tailwind
colors: {
  custom: {
    50: '#7265b7',
    500: '#222b98',
    950: '#000000',
  },
}
SCSS
$custom: #222b98;
$custom-light: #7265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#222b98",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 235.424,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36604,
    "c": 0.17404,
    "h": 270.7
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#222B98
secondary
#BEB757
accent
#DA41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B98

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

Preview Lab → · Contrast checker → · Palette generator →

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