#221487#221487

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

Color values

HEX#221487
RGBrgb(34, 20, 135)
HSLhsl(247, 74%, 30%)
HSVhsv(247, 85%, 53%)
CMYKcmyk(74.8%, 85.2%, 0%, 47.1%)
CIE-LABlab(18.32, 42.88, -60.18)
CIE-LCHlch(18.32, 73.90, 305.47°)
OKLaboklab(31.5% 0.0155 -0.174)
OKLCHoklch(31.5% 0.175 275.1)
XYZxyz(5.2816, 2.5891, 23.1384)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221487 #798714
analogous
#144087 #221487 #5B1487
triadic
#221487 #872214 #148722
tetradic
#221487 #871440 #798714 #14875B
square
#221487 #871440 #798714 #14875B
split-complementary
#221487 #875B14 #408714
monochromatic
#07041C #150C52 #221487 #2F1CBC #4934E1

Accessibility & contrast

On white

13.83
#221487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#221487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221487
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221487#FFFFFF#000000##FFFFFF
##2214871.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002785
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #221487;
/* rgb */ color: rgb(34, 20, 135);
/* oklch */ color: oklch(31.5% 0.175 275.1);
Tailwind
colors: {
  custom: {
    50: '#7056ab',
    500: '#221487',
    950: '#000000',
  },
}
SCSS
$custom: #221487;
$custom-light: #7056ab;
$custom-dark: #000000;
JSON
{
  "hex": "#221487",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 247.304,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.17466,
    "h": 275.1
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#221487
secondary
#ACBB3B
accent
#F137DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221487

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

Preview Lab → · Contrast checker → · Palette generator →

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