#221679#221679

#221679 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.156 H 276.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#221679
RGBrgb(34, 22, 121)
HSLhsl(247, 69%, 28%)
HSVhsv(247, 82%, 47%)
CMYKcmyk(71.9%, 81.8%, 0%, 52.5%)
CIE-LABlab(16.96, 37.42, -53.54)
CIE-LCHlch(16.96, 65.32, 304.95°)
OKLaboklab(30.07% 0.0187 -0.1547)
OKLCHoklch(30.07% 0.156 276.9)
XYZxyz(4.3967, 2.2940, 18.2965)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221679 #6D7916
analogous
#163B79 #221679 #531679
triadic
#221679 #792216 #167922
tetradic
#221679 #79163B #6D7916 #167953
square
#221679 #79163B #6D7916 #167953
split-complementary
#221679 #795316 #3B7916
monochromatic
#07051A #130D45 #221679 #311FAD #4530D9

Accessibility & contrast

On white

14.40
#221679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#221679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221679
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221679#FFFFFF#000000##FFFFFF
##2216791.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221679;
/* rgb */ color: rgb(34, 22, 121);
/* oklch */ color: oklch(30.1% 0.156 276.9);
Tailwind
colors: {
  custom: {
    50: '#6c56a1',
    500: '#221679',
    950: '#000000',
  },
}
SCSS
$custom: #221679;
$custom-light: #6c56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#221679",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 247.273,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30069,
    "c": 0.15585,
    "h": 276.9
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#221679
secondary
#A1AE3D
accent
#EC3CD7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #221679

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

Preview Lab → · Contrast checker → · Palette generator →

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