#222C9E#222C9E

#222C9E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.181 H 270.2°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#222C9E
RGBrgb(34, 44, 158)
HSLhsl(235, 65%, 38%)
HSVhsv(235, 78%, 62%)
CMYKcmyk(78.5%, 72.2%, 0%, 38%)
CIE-LABlab(25.59, 37.36, -62.39)
CIE-LCHlch(25.59, 72.72, 300.91°)
OKLaboklab(37.4% 0.0008 -0.1807)
OKLCHoklch(37.4% 0.181 270.2)
XYZxyz(7.7298, 4.6092, 32.8234)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C9E #9E9422
analogous
#226A9E #222C9E #56229E
triadic
#222C9E #9E222C #2C9E22
tetradic
#222C9E #9E226A #9E9422 #229E56
square
#222C9E #9E226A #9E9422 #229E56
split-complementary
#222C9E #9E5622 #6A9E22
monochromatic
#0C1039 #171E6C #222C9E #2D3AD0 #5E68DC

Accessibility & contrast

On white

10.93
#222C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#222C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C9E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C9E#FFFFFF#000000##FFFFFF
##222C9E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222c9e;
/* rgb */ color: rgb(34, 44, 158);
/* oklch */ color: oklch(37.4% 0.181 270.2);
Tailwind
colors: {
  custom: {
    50: '#7366bc',
    500: '#222c9e',
    950: '#000000',
  },
}
SCSS
$custom: #222c9e;
$custom-light: #7366bc;
$custom-dark: #000000;
JSON
{
  "hex": "#222c9e",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 235.161,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37397,
    "c": 0.18067,
    "h": 270.2
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#222C9E
secondary
#C1B95B
accent
#DA40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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