#222C8B#222C8B

#222C8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.156 H 271.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#222C8B
RGBrgb(34, 44, 139)
HSLhsl(234, 61%, 34%)
HSVhsv(234, 76%, 55%)
CMYKcmyk(75.5%, 68.3%, 0%, 45.5%)
CIE-LABlab(23.69, 30.41, -53.82)
CIE-LCHlch(23.69, 61.82, 299.47°)
OKLaboklab(35.45% 0.0029 -0.1557)
OKLCHoklch(35.45% 0.156 271.1)
XYZxyz(6.2190, 4.0049, 24.8664)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C8B #8B8122
analogous
#22618B #222C8B #4D228B
triadic
#222C8B #8B222C #2C8B22
tetradic
#222C8B #8B2261 #8B8122 #228B4D
square
#222C8B #8B2261 #8B8122 #228B4D
split-complementary
#222C8B #8B4D22 #618B22
monochromatic
#0A0D29 #161C5A #222C8B #2E3CBC #535FD5

Accessibility & contrast

On white

11.66
#222C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#222C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C8B
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C8B#FFFFFF#000000##FFFFFF
##222C8B1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222c8b;
/* rgb */ color: rgb(34, 44, 139);
/* oklch */ color: oklch(35.4% 0.156 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e65ae',
    500: '#222c8b',
    950: '#000000',
  },
}
SCSS
$custom: #222c8b;
$custom-light: #6e65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#222c8b",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 234.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35445,
    "c": 0.15569,
    "h": 271.1
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#222C8B
secondary
#B8AF50
accent
#D544E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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