#222C8A#222C8A

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

Color values

HEX#222C8A
RGBrgb(34, 44, 138)
HSLhsl(234, 60%, 34%)
HSVhsv(234, 75%, 54%)
CMYKcmyk(75.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(23.59, 30.04, -53.36)
CIE-LCHlch(23.59, 61.23, 299.38°)
OKLaboklab(35.35% 0.003 -0.1543)
OKLCHoklch(35.35% 0.154 271.1)
XYZxyz(6.1463, 3.9758, 24.4833)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C8A #8A8022
analogous
#22608A #222C8A #4C228A
triadic
#222C8A #8A222C #2C8A22
tetradic
#222C8A #8A2260 #8A8022 #228A4C
square
#222C8A #8A2260 #8A8022 #228A4C
split-complementary
#222C8A #8A4C22 #608A22
monochromatic
#0A0D28 #161C59 #222C8A #2E3CBB #525FD4

Accessibility & contrast

On white

11.70
#222C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222C8A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C8A#FFFFFF#000000##FFFFFF
##222C8A1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222c8a;
/* rgb */ color: rgb(34, 44, 138);
/* oklch */ color: oklch(35.3% 0.154 271.1);
Tailwind
colors: {
  custom: {
    50: '#6e65ad',
    500: '#222c8a',
    950: '#000000',
  },
}
SCSS
$custom: #222c8a;
$custom-light: #6e65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#222c8a",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 234.231,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35345,
    "c": 0.15433,
    "h": 271.1
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#222C8A
secondary
#B8AE50
accent
#D444E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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