#221676#221676

#221676 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.152 H 277.4°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#221676
RGBrgb(34, 22, 118)
HSLhsl(248, 69%, 27%)
HSVhsv(248, 81%, 46%)
CMYKcmyk(71.2%, 81.4%, 0%, 53.7%)
CIE-LABlab(16.61, 36.43, -52.19)
CIE-LCHlch(16.61, 63.65, 304.92°)
OKLaboklab(29.72% 0.0196 -0.1508)
OKLCHoklch(29.72% 0.152 277.4)
XYZxyz(4.2155, 2.2215, 17.3427)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221676 #6A7616
analogous
#163A76 #221676 #521676
triadic
#221676 #762216 #167622
tetradic
#221676 #76163A #6A7616 #167652
square
#221676 #76163A #6A7616 #167652
split-complementary
#221676 #765216 #3A7616
monochromatic
#07051A #130C42 #221676 #3120AA #442ED8

Accessibility & contrast

On white

14.54
#221676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#221676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221676
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221676#FFFFFF#000000##FFFFFF
##2216761.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #221676;
/* rgb */ color: rgb(34, 22, 118);
/* oklch */ color: oklch(29.7% 0.152 277.4);
Tailwind
colors: {
  custom: {
    50: '#6b569f',
    500: '#221676',
    950: '#000000',
  },
}
SCSS
$custom: #221676;
$custom-light: #6b569f;
$custom-dark: #000000;
JSON
{
  "hex": "#221676",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 247.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.2972,
    "c": 0.15207,
    "h": 277.4
  },
  "luminance": 0.02222
}

Semantic roles & 50–950 ramp

primary
#221676
secondary
#9EAC3C
accent
#EB3CD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221676

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

Preview Lab → · Contrast checker → · Palette generator →

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