#222183#222183

#222183 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.158 H 273.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#222183
RGBrgb(34, 33, 131)
HSLhsl(241, 60%, 32%)
HSVhsv(241, 75%, 51%)
CMYKcmyk(74%, 74.8%, 0%, 48.6%)
CIE-LABlab(20.31, 34.52, -54.37)
CIE-LCHlch(20.31, 64.40, 302.41°)
OKLaboklab(32.76% 0.0106 -0.1573)
OKLCHoklch(32.76% 0.158 273.8)
XYZxyz(5.2989, 3.0660, 21.7809)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222183 #828321
analogous
#215183 #222183 #532183
triadic
#222183 #832221 #218322
tetradic
#222183 #832151 #828321 #218353
square
#222183 #832151 #828321 #218353
split-complementary
#222183 #835321 #518321
monochromatic
#090821 #151552 #222183 #2F2DB4 #4E4CD2

Accessibility & contrast

On white

13.02
#222183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#222183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222183
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222183#FFFFFF#000000##FFFFFF
##2221831.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #222183;
/* rgb */ color: rgb(34, 33, 131);
/* oklch */ color: oklch(32.8% 0.158 273.8);
Tailwind
colors: {
  custom: {
    50: '#6d5da8',
    500: '#222183',
    950: '#000000',
  },
}
SCSS
$custom: #222183;
$custom-light: #6d5da8;
$custom-dark: #000000;
JSON
{
  "hex": "#222183",
  "rgb": {
    "r": 34,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 240.612,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32762,
    "c": 0.15761,
    "h": 273.8
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#222183
secondary
#B4B54B
accent
#E345E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222183

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

Preview Lab → · Contrast checker → · Palette generator →

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