#222CA0#222CA0

#222CA0 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.183 H 270.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#222CA0
RGBrgb(34, 44, 160)
HSLhsl(235, 65%, 38%)
HSVhsv(235, 79%, 63%)
CMYKcmyk(78.8%, 72.5%, 0%, 37.3%)
CIE-LABlab(25.80, 38.07, -63.27)
CIE-LCHlch(25.80, 73.84, 301.04°)
OKLaboklab(37.61% 0.0005 -0.1832)
OKLCHoklch(37.61% 0.183 270.2)
XYZxyz(7.9034, 4.6786, 33.7374)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222CA0 #A09622
analogous
#226BA0 #222CA0 #5722A0
triadic
#222CA0 #A0222C #2CA022
tetradic
#222CA0 #A0226B #A09622 #22A057
square
#222CA0 #A0226B #A09622 #22A057
split-complementary
#222CA0 #A05722 #6BA022
monochromatic
#0D103B #171E6E #222CA0 #2D3AD2 #5F69DD

Accessibility & contrast

On white

10.85
#222CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#222CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222CA0
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222CA0#FFFFFF#000000##FFFFFF
##222CA01.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222ca0;
/* rgb */ color: rgb(34, 44, 160);
/* oklch */ color: oklch(37.6% 0.183 270.2);
Tailwind
colors: {
  custom: {
    50: '#7466bd',
    500: '#222ca0',
    950: '#000000',
  },
}
SCSS
$custom: #222ca0;
$custom-light: #7466bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222ca0",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 235.238,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37608,
    "c": 0.18322,
    "h": 270.2
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#222CA0
secondary
#C2BA5C
accent
#DB40E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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