#221983#221983

#221983 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.166 H 275.1°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#221983
RGBrgb(34, 25, 131)
HSLhsl(245, 68%, 31%)
HSVhsv(245, 81%, 51%)
CMYKcmyk(74%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.69, 39.11, -57.05)
CIE-LCHlch(18.69, 69.17, 304.44°)
OKLaboklab(31.62% 0.0146 -0.165)
OKLCHoklch(31.62% 0.166 275.1)
XYZxyz(5.1027, 2.6735, 21.7155)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221983 #7A8319
analogous
#194583 #221983 #571983
triadic
#221983 #832219 #198322
tetradic
#221983 #831945 #7A8319 #198357
square
#221983 #831945 #7A8319 #198357
split-complementary
#221983 #835719 #458319
monochromatic
#07051C #150F50 #221983 #2F23B6 #4A3DDA

Accessibility & contrast

On white

13.68
#221983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#221983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221983
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221983#FFFFFF#000000##FFFFFF
##2219831.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #221983;
/* rgb */ color: rgb(34, 25, 131);
/* oklch */ color: oklch(31.6% 0.166 275.1);
Tailwind
colors: {
  custom: {
    50: '#6e58a8',
    500: '#221983',
    950: '#000000',
  },
}
SCSS
$custom: #221983;
$custom-light: #6e58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#221983",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 245.094,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31618,
    "c": 0.16562,
    "h": 275.1
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#221983
secondary
#ADB741
accent
#EB3DDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221983

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

Preview Lab → · Contrast checker → · Palette generator →

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