#221966#221966

#221966 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.128 H 279.7°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#221966
RGBrgb(34, 25, 102)
HSLhsl(247, 61%, 25%)
HSVhsv(247, 75%, 40%)
CMYKcmyk(66.7%, 75.5%, 0%, 60%)
CIE-LABlab(15.46, 29.23, -43.67)
CIE-LCHlch(15.46, 52.55, 303.80°)
OKLaboklab(28.38% 0.0216 -0.126)
OKLCHoklch(28.38% 0.128 279.7)
XYZxyz(3.4048, 1.9944, 12.7733)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221966 #5D6619
analogous
#193766 #221966 #491966
triadic
#221966 #662219 #196622
tetradic
#221966 #661937 #5D6619 #196649
square
#221966 #661937 #5D6619 #196649
split-complementary
#221966 #664919 #376619
monochromatic
#080619 #120D35 #221966 #322597 #4331C8

Accessibility & contrast

On white

15.01
#221966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#221966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221966
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221966#FFFFFF#000000##FFFFFF
##2219661.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #221966;
/* rgb */ color: rgb(34, 25, 102);
/* oklch */ color: oklch(28.4% 0.128 279.7);
Tailwind
colors: {
  custom: {
    50: '#675792',
    500: '#221966',
    950: '#000000',
  },
}
SCSS
$custom: #221966;
$custom-light: #675792;
$custom-dark: #000000;
JSON
{
  "hex": "#221966",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 247.013,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28379,
    "c": 0.12782,
    "h": 279.7
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#221966
secondary
#919C3F
accent
#E444D1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #221966

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

Preview Lab → · Contrast checker → · Palette generator →

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