#221776#221776

#221776 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.151 H 277.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#221776
RGBrgb(34, 23, 118)
HSLhsl(247, 67%, 28%)
HSVhsv(247, 81%, 46%)
CMYKcmyk(71.2%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.80, 35.88, -51.88)
CIE-LCHlch(16.80, 63.08, 304.67°)
OKLaboklab(29.85% 0.019 -0.1499)
OKLCHoklch(29.85% 0.151 277.2)
XYZxyz(4.2350, 2.2605, 17.3492)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221776 #6B7617
analogous
#173C76 #221776 #511776
triadic
#221776 #762217 #177622
tetradic
#221776 #76173C #6B7617 #177651
square
#221776 #76173C #6B7617 #177651
split-complementary
#221776 #765117 #3C7617
monochromatic
#07051A #130D43 #221776 #3121A9 #4431D7

Accessibility & contrast

On white

14.46
#221776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#221776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221776
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221776#FFFFFF#000000##FFFFFF
##2217761.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.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: #221776;
/* rgb */ color: rgb(34, 23, 118);
/* oklch */ color: oklch(29.9% 0.151 277.2);
Tailwind
colors: {
  custom: {
    50: '#6b569f',
    500: '#221776',
    950: '#000000',
  },
}
SCSS
$custom: #221776;
$custom-light: #6b569f;
$custom-dark: #000000;
JSON
{
  "hex": "#221776",
  "rgb": {
    "r": 34,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 246.947,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29853,
    "c": 0.1511,
    "h": 277.2
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#221776
secondary
#9FAB3E
accent
#EA3ED6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221776

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

Preview Lab → · Contrast checker → · Palette generator →

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