#222CA8#222CA8

#222CA8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.193 H 269.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#222CA8
RGBrgb(34, 44, 168)
HSLhsl(236, 66%, 40%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(79.8%, 73.8%, 0%, 34.1%)
CIE-LABlab(26.64, 40.89, -66.72)
CIE-LCHlch(26.64, 78.26, 301.50°)
OKLaboklab(38.46% -0.0006 -0.1933)
OKLCHoklch(38.46% 0.193 269.8)
XYZxyz(8.6258, 4.9676, 37.5424)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222CA8 #A89E22
analogous
#226FA8 #222CA8 #5B22A8
triadic
#222CA8 #A8222C #2CA822
tetradic
#222CA8 #A8226F #A89E22 #22A85B
square
#222CA8 #A8226F #A89E22 #22A85B
split-complementary
#222CA8 #A85B22 #6FA822
monochromatic
#0D1142 #181F75 #222CA8 #323ED5 #656EE0

Accessibility & contrast

On white

10.53
#222CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#222CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222CA8
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222CA8#FFFFFF#000000##FFFFFF
##222CA81.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222ca8;
/* rgb */ color: rgb(34, 44, 168);
/* oklch */ color: oklch(38.5% 0.193 269.8);
Tailwind
colors: {
  custom: {
    50: '#7666c3',
    500: '#222ca8',
    950: '#000000',
  },
}
SCSS
$custom: #222ca8;
$custom-light: #7666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#222ca8",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 235.522,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.19327,
    "h": 269.8
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#222CA8
secondary
#C5BE61
accent
#DD3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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