#222A76#222A76

#222A76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.129 H 272.5°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#222A76
RGBrgb(34, 42, 118)
HSLhsl(234, 55%, 30%)
HSVhsv(234, 71%, 46%)
CMYKcmyk(71.2%, 64.4%, 0%, 53.7%)
CIE-LABlab(21.22, 23.82, -44.61)
CIE-LCHlch(21.22, 50.58, 298.10°)
OKLaboklab(33.04% 0.0057 -0.1287)
OKLCHoklch(33.04% 0.129 272.5)
XYZxyz(4.7566, 3.3036, 17.5230)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A76 #766E22
analogous
#225476 #222A76 #442276
triadic
#222A76 #76222A #2A7622
tetradic
#222A76 #762254 #766E22 #227644
square
#222A76 #762254 #766E22 #227644
split-complementary
#222A76 #764422 #547622
monochromatic
#070818 #141946 #222A76 #303BA6 #4854CA

Accessibility & contrast

On white

12.64
#222A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#222A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A76
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A76#FFFFFF#000000##FFFFFF
##222A761.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #222a76;
/* rgb */ color: rgb(34, 42, 118);
/* oklch */ color: oklch(33.0% 0.129 272.5);
Tailwind
colors: {
  custom: {
    50: '#69639e',
    500: '#222a76',
    950: '#000000',
  },
}
SCSS
$custom: #222a76;
$custom-light: #69639e;
$custom-dark: #000000;
JSON
{
  "hex": "#222a76",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 234.286,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33036,
    "c": 0.12882,
    "h": 272.5
  },
  "luminance": 0.03304
}

Semantic roles & 50–950 ramp

primary
#222A76
secondary
#A9A04B
accent
#D049DF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222A76

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

Preview Lab → · Contrast checker → · Palette generator →

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