#222E7A#222E7A

#222E7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.129 H 271.0°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#222E7A
RGBrgb(34, 46, 122)
HSLhsl(232, 56%, 31%)
HSVhsv(232, 72%, 48%)
CMYKcmyk(72.1%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.65, 22.59, -44.83)
CIE-LCHlch(22.65, 50.20, 296.74°)
OKLaboklab(34.2% 0.0023 -0.1293)
OKLCHoklch(34.2% 0.129 271)
XYZxyz(5.1483, 3.6987, 18.8512)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E7A #7A6E22
analogous
#225A7A #222E7A #42227A
triadic
#222E7A #7A222E #2E7A22
tetradic
#222E7A #7A225A #7A6E22 #227A42
square
#222E7A #7A225A #7A6E22 #227A42
split-complementary
#222E7A #7A4222 #5A7A22
monochromatic
#070A1A #151C4A #222E7A #2F40AA #4A5CCD

Accessibility & contrast

On white

12.07
#222E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#222E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E7A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E7A#FFFFFF#000000##FFFFFF
##222E7A1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222e7a;
/* rgb */ color: rgb(34, 46, 122);
/* oklch */ color: oklch(34.2% 0.129 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a66a1',
    500: '#222e7a',
    950: '#000000',
  },
}
SCSS
$custom: #222e7a;
$custom-light: #6a66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#222e7a",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 231.818,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34202,
    "c": 0.12931,
    "h": 271
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#222E7A
secondary
#AD9F4B
accent
#CB48E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #222E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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