#222F89#222F89

#222F89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.149 H 270.4°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#222F89
RGBrgb(34, 47, 137)
HSLhsl(232, 60%, 34%)
HSVhsv(232, 75%, 54%)
CMYKcmyk(75.2%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.25, 27.66, -51.65)
CIE-LCHlch(24.25, 58.59, 298.17°)
OKLaboklab(35.8% 0.001 -0.1493)
OKLCHoklch(35.8% 0.149 270.4)
XYZxyz(6.1900, 4.1786, 24.1424)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F89 #897C22
analogous
#226289 #222F89 #482289
triadic
#222F89 #89222F #2F8922
tetradic
#222F89 #892262 #897C22 #228948
square
#222F89 #892262 #897C22 #228948
split-complementary
#222F89 #894822 #628922
monochromatic
#0A0D27 #161E58 #222F89 #2E40BA #5162D4

Accessibility & contrast

On white

11.44
#222F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#222F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F89
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F89#FFFFFF#000000##FFFFFF
##222F891.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222f89;
/* rgb */ color: rgb(34, 47, 137);
/* oklch */ color: oklch(35.8% 0.149 270.4);
Tailwind
colors: {
  custom: {
    50: '#6d67ac',
    500: '#222f89',
    950: '#000000',
  },
}
SCSS
$custom: #222f89;
$custom-light: #6d67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#222f89",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 232.427,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35801,
    "c": 0.14928,
    "h": 270.4
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#222F89
secondary
#B8AA4F
accent
#CF44E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222F89

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

Preview Lab → · Contrast checker → · Palette generator →

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