#222C8F#222C8F

#222C8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.161 H 270.9°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#222C8F
RGBrgb(34, 44, 143)
HSLhsl(234, 62%, 35%)
HSVhsv(234, 76%, 56%)
CMYKcmyk(76.2%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.08, 31.90, -55.67)
CIE-LCHlch(24.08, 64.16, 299.81°)
OKLaboklab(35.85% 0.0025 -0.161)
OKLCHoklch(35.85% 0.161 270.9)
XYZxyz(6.5166, 4.1239, 26.4338)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C8F #8F8522
analogous
#22638F #222C8F #4E228F
triadic
#222C8F #8F222C #2C8F22
tetradic
#222C8F #8F2263 #8F8522 #228F4E
square
#222C8F #8F2263 #8F8522 #228F4E
split-complementary
#222C8F #8F4E22 #638F22
monochromatic
#0A0E2C #161D5E #222C8F #2E3BC0 #5561D7

Accessibility & contrast

On white

11.51
#222C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#222C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C8F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C8F#FFFFFF#000000##FFFFFF
##222C8F1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222c8f;
/* rgb */ color: rgb(34, 44, 143);
/* oklch */ color: oklch(35.8% 0.161 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f65b1',
    500: '#222c8f',
    950: '#000000',
  },
}
SCSS
$custom: #222c8f;
$custom-light: #6f65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#222c8f",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 234.495,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.16107,
    "h": 270.9
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#222C8F
secondary
#BAB152
accent
#D643E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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