#222383#222383

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

Color values

HEX#222383
RGBrgb(34, 35, 131)
HSLhsl(239, 59%, 32%)
HSVhsv(239, 74%, 51%)
CMYKcmyk(74%, 73.3%, 0%, 48.6%)
CIE-LABlab(20.75, 33.28, -53.64)
CIE-LCHlch(20.75, 63.12, 301.82°)
OKLaboklab(33.08% 0.0094 -0.1551)
OKLCHoklch(33.08% 0.155 273.5)
XYZxyz(5.3561, 3.1803, 21.7999)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222383 #838222
analogous
#225483 #222383 #512283
triadic
#222383 #832223 #238322
tetradic
#222383 #832254 #838222 #228351
square
#222383 #832254 #838222 #228351
split-complementary
#222383 #835122 #548322
monochromatic
#090922 #151652 #222383 #2F30B4 #4E50D1

Accessibility & contrast

On white

12.83
#222383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222383
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222383#FFFFFF#000000##FFFFFF
##2223831.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222383;
/* rgb */ color: rgb(34, 35, 131);
/* oklch */ color: oklch(33.1% 0.155 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d5fa8',
    500: '#222383',
    950: '#000000',
  },
}
SCSS
$custom: #222383;
$custom-light: #6d5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#222383",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 239.381,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3308,
    "c": 0.1554,
    "h": 273.5
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#222383
secondary
#B4B34C
accent
#E046E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #222383

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

Preview Lab → · Contrast checker → · Palette generator →

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