#221685#221685

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

Color values

HEX#221685
RGBrgb(34, 22, 133)
HSLhsl(246, 72%, 30%)
HSVhsv(246, 83%, 52%)
CMYKcmyk(74.4%, 83.5%, 0%, 47.8%)
CIE-LABlab(18.39, 41.30, -58.79)
CIE-LCHlch(18.39, 71.85, 305.09°)
OKLaboklab(31.49% 0.0153 -0.17)
OKLCHoklch(31.49% 0.171 275.1)
XYZxyz(5.1788, 2.6068, 22.4160)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221685 #798516
analogous
#164285 #221685 #591685
triadic
#221685 #852216 #168522
tetradic
#221685 #851642 #798516 #168559
square
#221685 #851642 #798516 #168559
split-complementary
#221685 #855916 #428516
monochromatic
#07051C #150D50 #221685 #2F1FBA #4937DE

Accessibility & contrast

On white

13.80
#221685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221685
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221685#FFFFFF#000000##FFFFFF
##2216851.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002883
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #221685;
/* rgb */ color: rgb(34, 22, 133);
/* oklch */ color: oklch(31.5% 0.171 275.1);
Tailwind
colors: {
  custom: {
    50: '#6f57aa',
    500: '#221685',
    950: '#000000',
  },
}
SCSS
$custom: #221685;
$custom-light: #6f57aa;
$custom-dark: #000000;
JSON
{
  "hex": "#221685",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 246.486,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31485,
    "c": 0.17068,
    "h": 275.1
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#221685
secondary
#ACB93E
accent
#EE39DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #221685

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

Preview Lab → · Contrast checker → · Palette generator →

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