#222E76#222E76

#222E76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.123 H 271.0°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#222E76
RGBrgb(34, 46, 118)
HSLhsl(231, 55%, 30%)
HSVhsv(231, 71%, 46%)
CMYKcmyk(71.2%, 61%, 0%, 53.7%)
CIE-LABlab(22.31, 21.04, -42.84)
CIE-LCHlch(22.31, 47.73, 296.16°)
OKLaboklab(33.84% 0.0023 -0.1234)
OKLCHoklch(33.84% 0.123 271)
XYZxyz(4.9056, 3.6016, 17.5727)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E76 #766A22
analogous
#225876 #222E76 #402276
triadic
#222E76 #76222E #2E7622
tetradic
#222E76 #762258 #766A22 #227640
square
#222E76 #762258 #766A22 #227640
split-complementary
#222E76 #764022 #587622
monochromatic
#070918 #141B46 #222E76 #3041A6 #485BCA

Accessibility & contrast

On white

12.21
#222E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#222E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E76
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E76#FFFFFF#000000##FFFFFF
##222E761.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222e76;
/* rgb */ color: rgb(34, 46, 118);
/* oklch */ color: oklch(33.8% 0.123 271.0);
Tailwind
colors: {
  custom: {
    50: '#69669e',
    500: '#222e76',
    950: '#000000',
  },
}
SCSS
$custom: #222e76;
$custom-light: #69669e;
$custom-dark: #000000;
JSON
{
  "hex": "#222e76",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 231.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33842,
    "c": 0.12346,
    "h": 271
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#222E76
secondary
#A99C4B
accent
#C949DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222E76

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

Preview Lab → · Contrast checker → · Palette generator →

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