#222F80#222F80

#222F80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.137 H 270.6°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#222F80
RGBrgb(34, 47, 128)
HSLhsl(232, 58%, 32%)
HSVhsv(232, 73%, 50%)
CMYKcmyk(73.4%, 63.3%, 0%, 49.8%)
CIE-LABlab(23.44, 24.22, -47.33)
CIE-LCHlch(23.44, 53.17, 297.09°)
OKLaboklab(34.95% 0.0014 -0.1366)
OKLCHoklch(34.95% 0.137 270.6)
XYZxyz(5.5712, 3.9311, 20.8831)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F80 #807322
analogous
#225E80 #222F80 #442280
triadic
#222F80 #80222F #2F8022
tetradic
#222F80 #80225E #807322 #228044
square
#222F80 #80225E #807322 #228044
split-complementary
#222F80 #804422 #5E8022
monochromatic
#080B1F #151D50 #222F80 #2F41B0 #4D5FD0

Accessibility & contrast

On white

11.76
#222F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#222F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F80
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F80#FFFFFF#000000##FFFFFF
##222F801.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222f80;
/* rgb */ color: rgb(34, 47, 128);
/* oklch */ color: oklch(35.0% 0.137 270.6);
Tailwind
colors: {
  custom: {
    50: '#6b67a6',
    500: '#222f80',
    950: '#000000',
  },
}
SCSS
$custom: #222f80;
$custom-light: #6b67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#222f80",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 231.702,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.13664,
    "h": 270.6
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#222F80
secondary
#B2A44B
accent
#CC47E1
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #222F80

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

Preview Lab → · Contrast checker → · Palette generator →

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