#222EA6#222EA6

#222EA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.189 H 269.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#222EA6
RGBrgb(34, 46, 166)
HSLhsl(235, 66%, 39%)
HSVhsv(235, 80%, 65%)
CMYKcmyk(79.5%, 72.3%, 0%, 34.9%)
CIE-LABlab(26.87, 38.98, -65.15)
CIE-LCHlch(26.87, 75.92, 300.89°)
OKLaboklab(38.56% -0.0011 -0.1887)
OKLCHoklch(38.56% 0.189 269.7)
XYZxyz(8.5173, 5.0463, 36.5941)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222EA6 #A69A22
analogous
#2270A6 #222EA6 #5822A6
triadic
#222EA6 #A6222E #2EA622
tetradic
#222EA6 #A62270 #A69A22 #22A658
square
#222EA6 #A62270 #A69A22 #22A658
split-complementary
#222EA6 #A65822 #70A622
monochromatic
#0D1240 #182073 #222EA6 #303FD5 #636FDF

Accessibility & contrast

On white

10.45
#222EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#222EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222EA6
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222EA6#FFFFFF#000000##FFFFFF
##222EA61.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222ea6;
/* rgb */ color: rgb(34, 46, 166);
/* oklch */ color: oklch(38.6% 0.189 269.7);
Tailwind
colors: {
  custom: {
    50: '#7567c2',
    500: '#222ea6',
    950: '#000000',
  },
}
SCSS
$custom: #222ea6;
$custom-light: #7567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#222ea6",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 234.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.18869,
    "h": 269.7
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#222EA6
secondary
#C4BB5F
accent
#D93FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #222EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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