#222BA8#222BA8

#222BA8 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.194 H 269.9°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#222BA8
RGBrgb(34, 43, 168)
HSLhsl(236, 66%, 40%)
HSVhsv(236, 80%, 66%)
CMYKcmyk(79.8%, 74.4%, 0%, 34.1%)
CIE-LABlab(26.43, 41.48, -67.07)
CIE-LCHlch(26.43, 78.86, 301.74°)
OKLaboklab(38.31% -0.0002 -0.1943)
OKLCHoklch(38.31% 0.194 269.9)
XYZxyz(8.5890, 4.8940, 37.5302)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BA8 #A89F22
analogous
#226EA8 #222BA8 #5C22A8
triadic
#222BA8 #A8222B #2BA822
tetradic
#222BA8 #A8226E #A89F22 #22A85C
square
#222BA8 #A8226E #A89F22 #22A85C
split-complementary
#222BA8 #A85C22 #6EA822
monochromatic
#0D1142 #181E75 #222BA8 #323DD5 #656DE0

Accessibility & contrast

On white

10.61
#222BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#222BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222BA8
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222BA8#FFFFFF#000000##FFFFFF
##222BA81.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222ba8;
/* rgb */ color: rgb(34, 43, 168);
/* oklch */ color: oklch(38.3% 0.194 269.9);
Tailwind
colors: {
  custom: {
    50: '#7666c3',
    500: '#222ba8',
    950: '#000000',
  },
}
SCSS
$custom: #222ba8;
$custom-light: #7666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#222ba8",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 235.97,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38312,
    "c": 0.19428,
    "h": 269.9
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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