#221885#221885

#221885 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.169 H 274.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#221885
RGBrgb(34, 24, 133)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 82%, 52%)
CMYKcmyk(74.4%, 82%, 0%, 47.8%)
CIE-LABlab(18.74, 40.29, -58.22)
CIE-LCHlch(18.74, 70.80, 304.69°)
OKLaboklab(31.73% 0.0145 -0.1683)
OKLCHoklch(31.73% 0.169 274.9)
XYZxyz(5.2186, 2.6863, 22.4292)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221885 #7B8518
analogous
#184485 #221885 #581885
triadic
#221885 #852218 #188522
tetradic
#221885 #851844 #7B8518 #188558
square
#221885 #851844 #7B8518 #188558
split-complementary
#221885 #855818 #448518
monochromatic
#07051D #150F51 #221885 #2F21B9 #4A3CDC

Accessibility & contrast

On white

13.66
#221885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#221885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221885
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221885#FFFFFF#000000##FFFFFF
##2218851.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #221885;
/* rgb */ color: rgb(34, 24, 133);
/* oklch */ color: oklch(31.7% 0.169 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f58aa',
    500: '#221885',
    950: '#000000',
  },
}
SCSS
$custom: #221885;
$custom-light: #6f58aa;
$custom-dark: #000000;
JSON
{
  "hex": "#221885",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 245.505,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31726,
    "c": 0.16897,
    "h": 274.9
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#221885
secondary
#AEB940
accent
#EC3CDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221885

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

Preview Lab → · Contrast checker → · Palette generator →

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