#222E8E#222E8E

#222E8E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.157 H 270.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#222E8E
RGBrgb(34, 46, 142)
HSLhsl(233, 61%, 35%)
HSVhsv(233, 76%, 56%)
CMYKcmyk(76.1%, 67.6%, 0%, 44.3%)
CIE-LABlab(24.47, 30.21, -54.40)
CIE-LCHlch(24.47, 62.23, 299.05°)
OKLaboklab(36.1% 0.0014 -0.1573)
OKLCHoklch(36.1% 0.157 270.5)
XYZxyz(6.5175, 4.2464, 26.0621)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E8E #8E8222
analogous
#22648E #222E8E #4C228E
triadic
#222E8E #8E222E #2E8E22
tetradic
#222E8E #8E2264 #8E8222 #228E4C
square
#222E8E #8E2264 #8E8222 #228E4C
split-complementary
#222E8E #8E4C22 #648E22
monochromatic
#0A0E2B #161E5D #222E8E #2E3EBF #5463D6

Accessibility & contrast

On white

11.36
#222E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#222E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E8E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E8E#FFFFFF#000000##FFFFFF
##222E8E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222e8e;
/* rgb */ color: rgb(34, 46, 142);
/* oklch */ color: oklch(36.1% 0.157 270.5);
Tailwind
colors: {
  custom: {
    50: '#6f67b0',
    500: '#222e8e',
    950: '#000000',
  },
}
SCSS
$custom: #222e8e;
$custom-light: #6f67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#222e8e",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 233.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36103,
    "c": 0.15735,
    "h": 270.5
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

primary
#222E8E
secondary
#BAAE52
accent
#D343E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #222E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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