#222F91#222F91

#222F91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.160 H 270.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#222F91
RGBrgb(34, 47, 145)
HSLhsl(233, 62%, 35%)
HSVhsv(233, 77%, 57%)
CMYKcmyk(76.6%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.00, 30.68, -55.38)
CIE-LCHlch(25.00, 63.31, 298.98°)
OKLaboklab(36.58% 0.0005 -0.1602)
OKLCHoklch(36.58% 0.16 270.2)
XYZxyz(6.7853, 4.4167, 27.2775)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F91 #918422
analogous
#226691 #222F91 #4D2291
triadic
#222F91 #91222F #2F9122
tetradic
#222F91 #912266 #918422 #22914D
square
#222F91 #912266 #918422 #22914D
split-complementary
#222F91 #914D22 #669122
monochromatic
#0B0F2E #161F5F #222F91 #2E3FC3 #5665D7

Accessibility & contrast

On white

11.15
#222F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#222F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F91
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F91#FFFFFF#000000##FFFFFF
##222F911.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222f91;
/* rgb */ color: rgb(34, 47, 145);
/* oklch */ color: oklch(36.6% 0.160 270.2);
Tailwind
colors: {
  custom: {
    50: '#7067b2',
    500: '#222f91',
    950: '#000000',
  },
}
SCSS
$custom: #222f91;
$custom-light: #7067b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222f91",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 232.973,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3658,
    "c": 0.16021,
    "h": 270.2
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#222F91
secondary
#BBAF53
accent
#D243E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F91

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

Preview Lab → · Contrast checker → · Palette generator →

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