#222C9F#222C9F

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

Color values

HEX#222C9F
RGBrgb(34, 44, 159)
HSLhsl(235, 65%, 38%)
HSVhsv(235, 79%, 62%)
CMYKcmyk(78.6%, 72.3%, 0%, 37.6%)
CIE-LABlab(25.69, 37.71, -62.83)
CIE-LCHlch(25.69, 73.28, 300.97°)
OKLaboklab(37.5% 0.0007 -0.1819)
OKLCHoklch(37.5% 0.182 270.2)
XYZxyz(7.8162, 4.6438, 33.2786)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C9F #9F9522
analogous
#226A9F #222C9F #56229F
triadic
#222C9F #9F222C #2C9F22
tetradic
#222C9F #9F226A #9F9522 #229F56
square
#222C9F #9F226A #9F9522 #229F56
split-complementary
#222C9F #9F5622 #6A9F22
monochromatic
#0C103A #171E6D #222C9F #2D3AD1 #5F69DD

Accessibility & contrast

On white

10.89
#222C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#222C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C9F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C9F#FFFFFF#000000##FFFFFF
##222C9F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222c9f;
/* rgb */ color: rgb(34, 44, 159);
/* oklch */ color: oklch(37.5% 0.182 270.2);
Tailwind
colors: {
  custom: {
    50: '#7366bd',
    500: '#222c9f',
    950: '#000000',
  },
}
SCSS
$custom: #222c9f;
$custom-light: #7366bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222c9f",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 235.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37502,
    "c": 0.18195,
    "h": 270.2
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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