#222C95#222C95

#222C95 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.169 H 270.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#222C95
RGBrgb(34, 44, 149)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 58%)
CMYKcmyk(77.2%, 70.5%, 0%, 41.6%)
CIE-LABlab(24.67, 34.10, -58.39)
CIE-LCHlch(24.67, 67.62, 300.29°)
OKLaboklab(36.46% 0.0019 -0.169)
OKLCHoklch(36.46% 0.169 270.6)
XYZxyz(6.9833, 4.3106, 28.8919)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C95 #958B22
analogous
#226595 #222C95 #512295
triadic
#222C95 #95222C #2C9522
tetradic
#222C95 #952265 #958B22 #229551
square
#222C95 #952265 #958B22 #229551
split-complementary
#222C95 #955122 #659522
monochromatic
#0B0F31 #171D63 #222C95 #2D3BC7 #5864D9

Accessibility & contrast

On white

11.28
#222C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#222C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C95
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C95#FFFFFF#000000##FFFFFF
##222C951.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222c95;
/* rgb */ color: rgb(34, 44, 149);
/* oklch */ color: oklch(36.5% 0.169 270.6);
Tailwind
colors: {
  custom: {
    50: '#7165b5',
    500: '#222c95',
    950: '#000000',
  },
}
SCSS
$custom: #222c95;
$custom-light: #7165b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222c95",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 234.783,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36459,
    "c": 0.16902,
    "h": 270.6
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#222C95
secondary
#BDB456
accent
#D842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222C95

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

Preview Lab → · Contrast checker → · Palette generator →

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