#222483#222483

#222483 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.154 H 273.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#222483
RGBrgb(34, 36, 131)
HSLhsl(239, 59%, 32%)
HSVhsv(239, 74%, 51%)
CMYKcmyk(74%, 72.5%, 0%, 48.6%)
CIE-LABlab(20.98, 32.65, -53.26)
CIE-LCHlch(20.98, 62.47, 301.51°)
OKLaboklab(33.24% 0.0088 -0.154)
OKLCHoklch(33.24% 0.154 273.3)
XYZxyz(5.3859, 3.2400, 21.8099)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222483 #838122
analogous
#225483 #222483 #512283
triadic
#222483 #832224 #248322
tetradic
#222483 #832254 #838122 #228351
square
#222483 #832254 #838122 #228351
split-complementary
#222483 #835122 #548322
monochromatic
#090922 #151752 #222483 #2F31B4 #4E51D1

Accessibility & contrast

On white

12.74
#222483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#222483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222483
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222483#FFFFFF#000000##FFFFFF
##2224831.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #222483;
/* rgb */ color: rgb(34, 36, 131);
/* oklch */ color: oklch(33.2% 0.154 273.3);
Tailwind
colors: {
  custom: {
    50: '#6d5fa8',
    500: '#222483',
    950: '#000000',
  },
}
SCSS
$custom: #222483;
$custom-light: #6d5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#222483",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 238.763,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33244,
    "c": 0.15428,
    "h": 273.3
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222483

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

Preview Lab → · Contrast checker → · Palette generator →

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