#221489#221489

#221489 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.177 H 274.8°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#221489
RGBrgb(34, 20, 137)
HSLhsl(247, 75%, 31%)
HSVhsv(247, 85%, 54%)
CMYKcmyk(75.2%, 85.4%, 0%, 46.3%)
CIE-LABlab(18.57, 43.50, -61.03)
CIE-LCHlch(18.57, 74.94, 305.48°)
OKLaboklab(31.75% 0.0148 -0.1764)
OKLCHoklch(31.75% 0.177 274.8)
XYZxyz(5.4237, 2.6460, 23.8870)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221489 #7B8914
analogous
#144189 #221489 #5C1489
triadic
#221489 #892214 #148922
tetradic
#221489 #891441 #7B8914 #14895C
square
#221489 #891441 #7B8914 #14895C
split-complementary
#221489 #895C14 #418914
monochromatic
#07041E #150C54 #221489 #2F1CBE #4A36E2

Accessibility & contrast

On white

13.73
#221489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221489
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221489#FFFFFF#000000##FFFFFF
##2214891.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #221489;
/* rgb */ color: rgb(34, 20, 137);
/* oklch */ color: oklch(31.7% 0.177 274.8);
Tailwind
colors: {
  custom: {
    50: '#7056ad',
    500: '#221489',
    950: '#000000',
  },
}
SCSS
$custom: #221489;
$custom-light: #7056ad;
$custom-dark: #000000;
JSON
{
  "hex": "#221489",
  "rgb": {
    "r": 34,
    "g": 20,
    "b": 137
  },
  "hsl": {
    "h": 247.179,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31746,
    "c": 0.17705,
    "h": 274.8
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#221489
secondary
#AEBD3C
accent
#F137DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221489

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

Preview Lab → · Contrast checker → · Palette generator →

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