#222BA0#222BA0

#222BA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.184 H 270.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#222BA0
RGBrgb(34, 43, 160)
HSLhsl(236, 65%, 38%)
HSVhsv(236, 79%, 63%)
CMYKcmyk(78.8%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.58, 38.68, -63.63)
CIE-LCHlch(25.58, 74.47, 301.29°)
OKLaboklab(37.45% 0.001 -0.1843)
OKLCHoklch(37.45% 0.184 270.3)
XYZxyz(7.8666, 4.6050, 33.7252)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BA0 #A09722
analogous
#226AA0 #222BA0 #5822A0
triadic
#222BA0 #A0222B #2BA022
tetradic
#222BA0 #A0226A #A09722 #22A058
square
#222BA0 #A0226A #A09722 #22A058
split-complementary
#222BA0 #A05822 #6AA022
monochromatic
#0D103B #171D6E #222BA0 #2D39D2 #5F68DD

Accessibility & contrast

On white

10.93
#222BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#222BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222BA0
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222BA0#FFFFFF#000000##FFFFFF
##222BA01.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222ba0;
/* rgb */ color: rgb(34, 43, 160);
/* oklch */ color: oklch(37.5% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#7465bd',
    500: '#222ba0',
    950: '#000000',
  },
}
SCSS
$custom: #222ba0;
$custom-light: #7465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222ba0",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 235.714,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3745,
    "c": 0.18428,
    "h": 270.3
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#222BA0
secondary
#C2BB5C
accent
#DC40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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