#222E9A#222E9A

#222E9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.173 H 270.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#222E9A
RGBrgb(34, 46, 154)
HSLhsl(234, 64%, 37%)
HSVhsv(234, 78%, 60%)
CMYKcmyk(77.9%, 70.1%, 0%, 39.6%)
CIE-LABlab(25.64, 34.65, -59.87)
CIE-LCHlch(25.64, 69.17, 300.06°)
OKLaboklab(37.31% 0.0003 -0.1733)
OKLCHoklch(37.31% 0.173 270.1)
XYZxyz(7.4674, 4.6263, 31.0650)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E9A #9A8E22
analogous
#226A9A #222E9A #52229A
triadic
#222E9A #9A222E #2E9A22
tetradic
#222E9A #9A226A #9A8E22 #229A52
square
#222E9A #9A226A #9A8E22 #229A52
split-complementary
#222E9A #9A5222 #6A9A22
monochromatic
#0C1036 #171F68 #222E9A #2D3DCC #5B68DB

Accessibility & contrast

On white

10.91
#222E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#222E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E9A
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E9A#FFFFFF#000000##FFFFFF
##222E9A1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222e9a;
/* rgb */ color: rgb(34, 46, 154);
/* oklch */ color: oklch(37.3% 0.173 270.1);
Tailwind
colors: {
  custom: {
    50: '#7267b9',
    500: '#222e9a',
    950: '#000000',
  },
}
SCSS
$custom: #222e9a;
$custom-light: #7267b9;
$custom-dark: #000000;
JSON
{
  "hex": "#222e9a",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 234,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.1733,
    "h": 270.1
  },
  "luminance": 0.04627
}

Semantic roles & 50–950 ramp

primary
#222E9A
secondary
#BFB558
accent
#D641E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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