#221283#221283

#221283 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.171 H 275.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#221283
RGBrgb(34, 18, 131)
HSLhsl(248, 76%, 29%)
HSVhsv(248, 86%, 51%)
CMYKcmyk(74%, 86.3%, 0%, 48.6%)
CIE-LABlab(17.51, 42.55, -59.00)
CIE-LCHlch(17.51, 72.74, 305.80°)
OKLaboklab(30.8% 0.0174 -0.1705)
OKLCHoklch(30.8% 0.171 275.8)
XYZxyz(4.9714, 2.4109, 21.6717)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221283 #738312
analogous
#123A83 #221283 #5B1283
triadic
#221283 #832212 #128322
tetradic
#221283 #83123A #738312 #12835B
square
#221283 #83123A #738312 #12835B
split-complementary
#221283 #835B12 #3A8312
monochromatic
#07041B #140B4D #221283 #3019B9 #472DE2

Accessibility & contrast

On white

14.17
#221283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#221283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221283
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221283#FFFFFF#000000##FFFFFF
##2212831.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002681
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #221283;
/* rgb */ color: rgb(34, 18, 131);
/* oklch */ color: oklch(30.8% 0.171 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f55a8',
    500: '#221283',
    950: '#000000',
  },
}
SCSS
$custom: #221283;
$custom-light: #6f55a8;
$custom-dark: #000000;
JSON
{
  "hex": "#221283",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 248.496,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30804,
    "c": 0.17138,
    "h": 275.8
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#221283
secondary
#A6B838
accent
#F235D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221283

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

Preview Lab → · Contrast checker → · Palette generator →

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