#221689#221689

#221689 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.176 H 274.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#221689
RGBrgb(34, 22, 137)
HSLhsl(246, 72%, 31%)
HSVhsv(246, 84%, 54%)
CMYKcmyk(75.2%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.88, 42.57, -60.50)
CIE-LCHlch(18.88, 73.98, 305.13°)
OKLaboklab(31.97% 0.0142 -0.1749)
OKLCHoklch(31.97% 0.176 274.6)
XYZxyz(5.4605, 2.7195, 23.8992)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221689 #7D8916
analogous
#164389 #221689 #5B1689
triadic
#221689 #892216 #168922
tetradic
#221689 #891643 #7D8916 #16895B
square
#221689 #891643 #7D8916 #16895B
split-complementary
#221689 #895B16 #438916
monochromatic
#080520 #150E54 #221689 #2F1EBE #4B3ADF

Accessibility & contrast

On white

13.60
#221689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221689
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221689#FFFFFF#000000##FFFFFF
##2216891.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #221689;
/* rgb */ color: rgb(34, 22, 137);
/* oklch */ color: oklch(32.0% 0.176 274.6);
Tailwind
colors: {
  custom: {
    50: '#7057ad',
    500: '#221689',
    950: '#000000',
  },
}
SCSS
$custom: #221689;
$custom-light: #7057ad;
$custom-dark: #000000;
JSON
{
  "hex": "#221689",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 246.261,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31965,
    "c": 0.17551,
    "h": 274.6
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#221689
secondary
#B0BD3E
accent
#EF39DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221689

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

Preview Lab → · Contrast checker → · Palette generator →

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