#222E9D#222E9D

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

Color values

HEX#222E9D
RGBrgb(34, 46, 157)
HSLhsl(234, 64%, 37%)
HSVhsv(234, 78%, 62%)
CMYKcmyk(78.3%, 70.7%, 0%, 38.4%)
CIE-LABlab(25.94, 35.75, -61.20)
CIE-LCHlch(25.94, 70.88, 300.29°)
OKLaboklab(37.62% -0.0001 -0.1772)
OKLCHoklch(37.62% 0.177 270)
XYZxyz(7.7204, 4.7275, 32.3974)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E9D #9D9122
analogous
#226C9D #222E9D #53229D
triadic
#222E9D #9D222E #2E9D22
tetradic
#222E9D #9D226C #9D9122 #229D53
square
#222E9D #9D226C #9D9122 #229D53
split-complementary
#222E9D #9D5322 #6C9D22
monochromatic
#0C1138 #171F6B #222E9D #2D3DCF #5D6ADC

Accessibility & contrast

On white

10.79
#222E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#222E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E9D
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E9D#FFFFFF#000000##FFFFFF
##222E9D1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222e9d;
/* rgb */ color: rgb(34, 46, 157);
/* oklch */ color: oklch(37.6% 0.177 270.0);
Tailwind
colors: {
  custom: {
    50: '#7367bb',
    500: '#222e9d',
    950: '#000000',
  },
}
SCSS
$custom: #222e9d;
$custom-light: #7367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#222e9d",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 234.146,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.1772,
    "h": 270
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#222E9D
secondary
#C1B75A
accent
#D740E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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