#222983#222983

#222983 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.148 H 272.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#222983
RGBrgb(34, 41, 131)
HSLhsl(236, 59%, 32%)
HSVhsv(236, 74%, 51%)
CMYKcmyk(74%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.17, 29.41, -51.30)
CIE-LCHlch(22.17, 59.13, 299.83°)
OKLaboklab(34.11% 0.0056 -0.1483)
OKLCHoklch(34.11% 0.148 272.2)
XYZxyz(5.5480, 3.5641, 21.8639)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222983 #837C22
analogous
#225A83 #222983 #4B2283
triadic
#222983 #832229 #298322
tetradic
#222983 #83225A #837C22 #22834B
square
#222983 #83225A #837C22 #22834B
split-complementary
#222983 #834B22 #5A8322
monochromatic
#090B22 #151A52 #222983 #2F38B4 #4E58D1

Accessibility & contrast

On white

12.26
#222983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#222983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222983
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222983#FFFFFF#000000##FFFFFF
##2229831.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222983;
/* rgb */ color: rgb(34, 41, 131);
/* oklch */ color: oklch(34.1% 0.148 272.2);
Tailwind
colors: {
  custom: {
    50: '#6d63a8',
    500: '#222983',
    950: '#000000',
  },
}
SCSS
$custom: #222983;
$custom-light: #6d63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#222983",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 235.67,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34108,
    "c": 0.14839,
    "h": 272.2
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#222983
secondary
#B4AD4C
accent
#D746E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #222983

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

Preview Lab → · Contrast checker → · Palette generator →

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