#221667#221667

#221667 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.133 H 280.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#221667
RGBrgb(34, 22, 103)
HSLhsl(249, 65%, 25%)
HSVhsv(249, 79%, 40%)
CMYKcmyk(67%, 78.6%, 0%, 59.6%)
CIE-LABlab(14.91, 31.40, -45.22)
CIE-LCHlch(14.91, 55.05, 304.77°)
OKLaboklab(28.03% 0.0236 -0.1305)
OKLCHoklch(28.03% 0.133 280.3)
XYZxyz(3.3940, 1.8929, 13.0158)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221667 #5B6716
analogous
#163367 #221667 #4B1667
triadic
#221667 #672216 #166722
tetradic
#221667 #671633 #5B6716 #16674B
square
#221667 #671633 #5B6716 #16674B
split-complementary
#221667 #674B16 #336716
monochromatic
#080519 #110B35 #221667 #332199 #432CCC

Accessibility & contrast

On white

15.23
#221667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#221667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221667
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221667#FFFFFF#000000##FFFFFF
##2216671.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #221667;
/* rgb */ color: rgb(34, 22, 103);
/* oklch */ color: oklch(28.0% 0.133 280.3);
Tailwind
colors: {
  custom: {
    50: '#685593',
    500: '#221667',
    950: '#000000',
  },
}
SCSS
$custom: #221667;
$custom-light: #685593;
$custom-dark: #000000;
JSON
{
  "hex": "#221667",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 248.889,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28026,
    "c": 0.13261,
    "h": 280.3
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#221667
secondary
#8F9E3B
accent
#E840CF
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221667

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

Preview Lab → · Contrast checker → · Palette generator →

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