#222C92#222C92

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

Color values

HEX#222C92
RGBrgb(34, 44, 146)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 77%, 57%)
CMYKcmyk(76.7%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.37, 33.00, -57.04)
CIE-LCHlch(24.37, 65.90, 300.06°)
OKLaboklab(36.15% 0.0022 -0.165)
OKLCHoklch(36.15% 0.165 270.8)
XYZxyz(6.7469, 4.2160, 27.6468)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C92 #928822
analogous
#226492 #222C92 #502292
triadic
#222C92 #92222C #2C9222
tetradic
#222C92 #922264 #928822 #229250
square
#222C92 #922264 #928822 #229250
split-complementary
#222C92 #925022 #649222
monochromatic
#0B0E2F #161D60 #222C92 #2E3BC4 #5762D8

Accessibility & contrast

On white

11.39
#222C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222C92
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C92#FFFFFF#000000##FFFFFF
##222C921.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222c92;
/* rgb */ color: rgb(34, 44, 146);
/* oklch */ color: oklch(36.2% 0.165 270.8);
Tailwind
colors: {
  custom: {
    50: '#7065b3',
    500: '#222c92',
    950: '#000000',
  },
}
SCSS
$custom: #222c92;
$custom-light: #7065b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222c92",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 234.643,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.16506,
    "h": 270.8
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222C92

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

Preview Lab → · Contrast checker → · Palette generator →

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