#222F76#222F76

#222F76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.0% C 0.122 H 270.6°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#222F76
RGBrgb(34, 47, 118)
HSLhsl(231, 55%, 30%)
HSVhsv(231, 71%, 46%)
CMYKcmyk(71.2%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.59, 20.34, -42.39)
CIE-LCHlch(22.59, 47.02, 295.63°)
OKLaboklab(34.05% 0.0014 -0.1221)
OKLCHoklch(34.05% 0.122 270.6)
XYZxyz(4.9451, 3.6806, 17.5859)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F76 #766922
analogous
#225976 #222F76 #3F2276
triadic
#222F76 #76222F #2F7622
tetradic
#222F76 #762259 #766922 #22763F
square
#222F76 #762259 #766922 #22763F
split-complementary
#222F76 #763F22 #597622
monochromatic
#070918 #141C46 #222F76 #3042A6 #485CCA

Accessibility & contrast

On white

12.10
#222F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222F76
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F76#FFFFFF#000000##FFFFFF
##222F761.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222f76;
/* rgb */ color: rgb(34, 47, 118);
/* oklch */ color: oklch(34.0% 0.122 270.6);
Tailwind
colors: {
  custom: {
    50: '#69679e',
    500: '#222f76',
    950: '#000000',
  },
}
SCSS
$custom: #222f76;
$custom-light: #69679e;
$custom-dark: #000000;
JSON
{
  "hex": "#222f76",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 230.714,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34049,
    "c": 0.12211,
    "h": 270.6
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#222F76
secondary
#A99A4B
accent
#C749DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #222F76

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

Preview Lab → · Contrast checker → · Palette generator →

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