#222C8C#222C8C

#222C8C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.157 H 271.0°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#222C8C
RGBrgb(34, 44, 140)
HSLhsl(234, 61%, 34%)
HSVhsv(234, 76%, 55%)
CMYKcmyk(75.7%, 68.6%, 0%, 45.1%)
CIE-LABlab(23.78, 30.79, -54.29)
CIE-LCHlch(23.78, 62.41, 299.56°)
OKLaboklab(35.55% 0.0028 -0.157)
OKLCHoklch(35.55% 0.157 271)
XYZxyz(6.2924, 4.0342, 25.2529)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C8C #8C8222
analogous
#22618C #222C8C #4D228C
triadic
#222C8C #8C222C #2C8C22
tetradic
#222C8C #8C2261 #8C8222 #228C4D
square
#222C8C #8C2261 #8C8222 #228C4D
split-complementary
#222C8C #8C4D22 #618C22
monochromatic
#0A0D2A #161D5B #222C8C #2E3BBD #535FD5

Accessibility & contrast

On white

11.62
#222C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C8C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C8C#FFFFFF#000000##FFFFFF
##222C8C1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222c8c;
/* rgb */ color: rgb(34, 44, 140);
/* oklch */ color: oklch(35.5% 0.157 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f65af',
    500: '#222c8c',
    950: '#000000',
  },
}
SCSS
$custom: #222c8c;
$custom-light: #6f65af;
$custom-dark: #000000;
JSON
{
  "hex": "#222c8c",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 234.34,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35545,
    "c": 0.15703,
    "h": 271
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#222C8C
secondary
#B9AF51
accent
#D544E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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