#222EA0#222EA0

#222EA0 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.181 H 269.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#222EA0
RGBrgb(34, 46, 160)
HSLhsl(234, 65%, 38%)
HSVhsv(234, 79%, 63%)
CMYKcmyk(78.8%, 71.2%, 0%, 37.3%)
CIE-LABlab(26.25, 36.83, -62.53)
CIE-LCHlch(26.25, 72.57, 300.50°)
OKLaboklab(37.93% -0.0004 -0.1811)
OKLCHoklch(37.93% 0.181 269.9)
XYZxyz(7.9797, 4.8312, 33.7629)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222EA0 #A09422
analogous
#226DA0 #222EA0 #5522A0
triadic
#222EA0 #A0222E #2EA022
tetradic
#222EA0 #A0226D #A09422 #22A055
square
#222EA0 #A0226D #A09422 #22A055
split-complementary
#222EA0 #A05522 #6DA022
monochromatic
#0D113B #171F6E #222EA0 #2D3DD2 #5F6BDD

Accessibility & contrast

On white

10.68
#222EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#222EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222EA0
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222EA0#FFFFFF#000000##FFFFFF
##222EA01.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #222ea0;
/* rgb */ color: rgb(34, 46, 160);
/* oklch */ color: oklch(37.9% 0.181 269.9);
Tailwind
colors: {
  custom: {
    50: '#7367bd',
    500: '#222ea0',
    950: '#000000',
  },
}
SCSS
$custom: #222ea0;
$custom-light: #7367bd;
$custom-dark: #000000;
JSON
{
  "hex": "#222ea0",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 234.286,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37932,
    "c": 0.18106,
    "h": 269.9
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#222EA0
secondary
#C2B85C
accent
#D840E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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