#222C94#222C94

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

Color values

HEX#222C94
RGBrgb(34, 44, 148)
HSLhsl(235, 63%, 36%)
HSVhsv(235, 77%, 58%)
CMYKcmyk(77%, 70.3%, 0%, 42%)
CIE-LABlab(24.57, 33.74, -57.94)
CIE-LCHlch(24.57, 67.05, 300.21°)
OKLaboklab(36.36% 0.002 -0.1677)
OKLCHoklch(36.36% 0.168 270.7)
XYZxyz(6.9038, 4.2788, 28.4733)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C94 #948A22
analogous
#226594 #222C94 #512294
triadic
#222C94 #94222C #2C9422
tetradic
#222C94 #942265 #948A22 #229451
square
#222C94 #942265 #948A22 #229451
split-complementary
#222C94 #945122 #659422
monochromatic
#0B0E30 #171D62 #222C94 #2D3BC6 #5863D9

Accessibility & contrast

On white

11.31
#222C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222C94
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C94#FFFFFF#000000##FFFFFF
##222C941.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222c94;
/* rgb */ color: rgb(34, 44, 148);
/* oklch */ color: oklch(36.4% 0.168 270.7);
Tailwind
colors: {
  custom: {
    50: '#7165b4',
    500: '#222c94',
    950: '#000000',
  },
}
SCSS
$custom: #222c94;
$custom-light: #7165b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222c94",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 234.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36356,
    "c": 0.1677,
    "h": 270.7
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#222C94
secondary
#BDB455
accent
#D742E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222C94

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

Preview Lab → · Contrast checker → · Palette generator →

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