#221883#221883

#221883 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.167 H 275.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#221883
RGBrgb(34, 24, 131)
HSLhsl(246, 69%, 30%)
HSVhsv(246, 82%, 51%)
CMYKcmyk(74%, 81.7%, 0%, 48.6%)
CIE-LABlab(18.50, 39.64, -57.35)
CIE-LCHlch(18.50, 69.72, 304.65°)
OKLaboklab(31.49% 0.0151 -0.1658)
OKLCHoklch(31.49% 0.167 275.2)
XYZxyz(5.0817, 2.6315, 21.7085)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221883 #798318
analogous
#184483 #221883 #571883
triadic
#221883 #832218 #188322
tetradic
#221883 #831844 #798318 #188357
square
#221883 #831844 #798318 #188357
split-complementary
#221883 #835718 #448318
monochromatic
#07051C #150F4F #221883 #2F21B7 #493ADB

Accessibility & contrast

On white

13.76
#221883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221883
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221883#FFFFFF#000000##FFFFFF
##2218831.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221883;
/* rgb */ color: rgb(34, 24, 131);
/* oklch */ color: oklch(31.5% 0.167 275.2);
Tailwind
colors: {
  custom: {
    50: '#6e58a8',
    500: '#221883',
    950: '#000000',
  },
}
SCSS
$custom: #221883;
$custom-light: #6e58a8;
$custom-dark: #000000;
JSON
{
  "hex": "#221883",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 245.607,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31491,
    "c": 0.16651,
    "h": 275.2
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#221883
secondary
#ACB740
accent
#EC3CDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #221883

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

Preview Lab → · Contrast checker → · Palette generator →

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