#222B76#222B76

#222B76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.127 H 272.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#222B76
RGBrgb(34, 43, 118)
HSLhsl(234, 55%, 30%)
HSVhsv(234, 71%, 46%)
CMYKcmyk(71.2%, 63.6%, 0%, 53.7%)
CIE-LABlab(21.49, 23.13, -44.18)
CIE-LCHlch(21.49, 49.87, 297.64°)
OKLaboklab(33.23% 0.0049 -0.1274)
OKLCHoklch(33.23% 0.127 272.2)
XYZxyz(4.7925, 3.3754, 17.5350)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B76 #766D22
analogous
#225576 #222B76 #432276
triadic
#222B76 #76222B #2B7622
tetradic
#222B76 #762255 #766D22 #227643
square
#222B76 #762255 #766D22 #227643
split-complementary
#222B76 #764322 #557622
monochromatic
#070918 #141A46 #222B76 #303CA6 #4856CA

Accessibility & contrast

On white

12.54
#222B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#222B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B76
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B76#FFFFFF#000000##FFFFFF
##222B761.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #222b76;
/* rgb */ color: rgb(34, 43, 118);
/* oklch */ color: oklch(33.2% 0.127 272.2);
Tailwind
colors: {
  custom: {
    50: '#69649e',
    500: '#222b76',
    950: '#000000',
  },
}
SCSS
$custom: #222b76;
$custom-light: #69649e;
$custom-dark: #000000;
JSON
{
  "hex": "#222b76",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 233.571,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.12749,
    "h": 272.2
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#222B76
secondary
#A99F4B
accent
#CF49DF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #222B76

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

Preview Lab → · Contrast checker → · Palette generator →

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