#222482#222482

#222482 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.153 H 273.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#222482
RGBrgb(34, 36, 130)
HSLhsl(239, 59%, 32%)
HSVhsv(239, 74%, 51%)
CMYKcmyk(73.8%, 72.3%, 0%, 49%)
CIE-LABlab(20.88, 32.29, -52.80)
CIE-LCHlch(20.88, 61.89, 301.45°)
OKLaboklab(33.14% 0.0089 -0.1527)
OKLCHoklch(33.14% 0.153 273.4)
XYZxyz(5.3185, 3.2130, 21.4546)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222482 #828022
analogous
#225482 #222482 #502282
triadic
#222482 #822224 #248222
tetradic
#222482 #822254 #828022 #228250
square
#222482 #822254 #828022 #228250
split-complementary
#222482 #825022 #548222
monochromatic
#090921 #151751 #222482 #2F31B3 #4E50D1

Accessibility & contrast

On white

12.78
#222482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#222482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222482
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222482#FFFFFF#000000##FFFFFF
##2224821.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222482;
/* rgb */ color: rgb(34, 36, 130);
/* oklch */ color: oklch(33.1% 0.153 273.4);
Tailwind
colors: {
  custom: {
    50: '#6d5fa7',
    500: '#222482',
    950: '#000000',
  },
}
SCSS
$custom: #222482;
$custom-light: #6d5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#222482",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 238.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.15294,
    "h": 273.4
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#222482
secondary
#B4B24C
accent
#DF46E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222482

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

Preview Lab → · Contrast checker → · Palette generator →

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