#222D8C#222D8C

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

Color values

HEX#222D8C
RGBrgb(34, 45, 140)
HSLhsl(234, 61%, 34%)
HSVhsv(234, 76%, 55%)
CMYKcmyk(75.7%, 67.9%, 0%, 45.1%)
CIE-LABlab(24.03, 30.13, -53.88)
CIE-LCHlch(24.03, 61.73, 299.21°)
OKLaboklab(35.72% 0.0022 -0.1558)
OKLCHoklch(35.72% 0.156 270.8)
XYZxyz(6.3301, 4.1096, 25.2655)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D8C #8C8122
analogous
#22628C #222D8C #4C228C
triadic
#222D8C #8C222D #2D8C22
tetradic
#222D8C #8C2262 #8C8122 #228C4C
square
#222D8C #8C2262 #8C8122 #228C4C
split-complementary
#222D8C #8C4C22 #628C22
monochromatic
#0A0D2A #161D5B #222D8C #2E3DBD #5361D5

Accessibility & contrast

On white

11.53
#222D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222D8C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D8C#FFFFFF#000000##FFFFFF
##222D8C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.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: #222d8c;
/* rgb */ color: rgb(34, 45, 140);
/* oklch */ color: oklch(35.7% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e66af',
    500: '#222d8c',
    950: '#000000',
  },
}
SCSS
$custom: #222d8c;
$custom-light: #6e66af;
$custom-dark: #000000;
JSON
{
  "hex": "#222d8c",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 233.774,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35724,
    "c": 0.15583,
    "h": 270.8
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#222D8C
secondary
#B9AE51
accent
#D344E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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