#222082#222082

#222082 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.157 H 274.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#222082
RGBrgb(34, 32, 130)
HSLhsl(241, 60%, 32%)
HSVhsv(241, 75%, 51%)
CMYKcmyk(73.8%, 75.4%, 0%, 49%)
CIE-LABlab(19.98, 34.77, -54.28)
CIE-LCHlch(19.98, 64.46, 302.65°)
OKLaboklab(32.5% 0.0113 -0.157)
OKLCHoklch(32.5% 0.157 274.1)
XYZxyz(5.2041, 2.9843, 21.4165)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222082 #808220
analogous
#204F82 #222082 #532082
triadic
#222082 #822220 #208222
tetradic
#222082 #82204F #808220 #208253
square
#222082 #82204F #808220 #208253
split-complementary
#222082 #825320 #4F8220
monochromatic
#080820 #151451 #222082 #2F2CB3 #4D4AD2

Accessibility & contrast

On white

13.15
#222082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#222082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222082
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222082#FFFFFF#000000##FFFFFF
##2220821.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #222082;
/* rgb */ color: rgb(34, 32, 130);
/* oklch */ color: oklch(32.5% 0.157 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d5da7',
    500: '#222082',
    950: '#000000',
  },
}
SCSS
$custom: #222082;
$custom-light: #6d5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#222082",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 241.224,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32498,
    "c": 0.15738,
    "h": 274.1
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#222082
secondary
#B2B549
accent
#E444E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222082

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

Preview Lab → · Contrast checker → · Palette generator →

#222082 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva