#222C8E#222C8E

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

Color values

HEX#222C8E
RGBrgb(34, 44, 142)
HSLhsl(234, 61%, 35%)
HSVhsv(234, 76%, 56%)
CMYKcmyk(76.1%, 69%, 0%, 44.3%)
CIE-LABlab(23.98, 31.53, -55.21)
CIE-LCHlch(23.98, 63.58, 299.73°)
OKLaboklab(35.75% 0.0026 -0.1597)
OKLCHoklch(35.75% 0.16 270.9)
XYZxyz(6.4412, 4.0938, 26.0367)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C8E #8E8422
analogous
#22628E #222C8E #4E228E
triadic
#222C8E #8E222C #2C8E22
tetradic
#222C8E #8E2262 #8E8422 #228E4E
square
#222C8E #8E2262 #8E8422 #228E4E
split-complementary
#222C8E #8E4E22 #628E22
monochromatic
#0A0D2B #161D5D #222C8E #2E3BBF #5460D6

Accessibility & contrast

On white

11.55
#222C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#222C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C8E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C8E#FFFFFF#000000##FFFFFF
##222C8E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222c8e;
/* rgb */ color: rgb(34, 44, 142);
/* oklch */ color: oklch(35.7% 0.160 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f65b0',
    500: '#222c8e',
    950: '#000000',
  },
}
SCSS
$custom: #222c8e;
$custom-light: #6f65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#222c8e",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 234.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.15973,
    "h": 270.9
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#222C8E
secondary
#BAB052
accent
#D643E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #222C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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