#222C93#222C93

#222C93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.166 H 270.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#222C93
RGBrgb(34, 44, 147)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 77%, 58%)
CMYKcmyk(76.9%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.47, 33.37, -57.49)
CIE-LCHlch(24.47, 66.47, 300.13°)
OKLaboklab(36.25% 0.0021 -0.1664)
OKLCHoklch(36.25% 0.166 270.7)
XYZxyz(6.8250, 4.2473, 28.0582)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C93 #938922
analogous
#226493 #222C93 #502293
triadic
#222C93 #93222C #2C9322
tetradic
#222C93 #932264 #938922 #229350
square
#222C93 #932264 #938922 #229350
split-complementary
#222C93 #935022 #649322
monochromatic
#0B0E30 #171D61 #222C93 #2D3BC5 #5763D8

Accessibility & contrast

On white

11.35
#222C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#222C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C93
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C93#FFFFFF#000000##FFFFFF
##222C931.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222c93;
/* rgb */ color: rgb(34, 44, 147);
/* oklch */ color: oklch(36.3% 0.166 270.7);
Tailwind
colors: {
  custom: {
    50: '#7065b4',
    500: '#222c93',
    950: '#000000',
  },
}
SCSS
$custom: #222c93;
$custom-light: #7065b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222c93",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 234.69,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.16638,
    "h": 270.7
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#222C93
secondary
#BCB355
accent
#D742E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222C93

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

Preview Lab → · Contrast checker → · Palette generator →

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