#221677#221677

#221677 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.153 H 277.2°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#221677
RGBrgb(34, 22, 119)
HSLhsl(247, 69%, 28%)
HSVhsv(247, 82%, 47%)
CMYKcmyk(71.4%, 81.5%, 0%, 53.3%)
CIE-LABlab(16.73, 36.76, -52.64)
CIE-LCHlch(16.73, 64.21, 304.93°)
OKLaboklab(29.84% 0.0193 -0.1521)
OKLCHoklch(29.84% 0.153 277.2)
XYZxyz(4.2753, 2.2454, 17.6573)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221677 #6B7716
analogous
#163A77 #221677 #531677
triadic
#221677 #772216 #167722
tetradic
#221677 #77163A #6B7716 #167753
square
#221677 #77163A #6B7716 #167753
split-complementary
#221677 #775316 #3A7716
monochromatic
#07051A #130C43 #221677 #3120AB #442FD9

Accessibility & contrast

On white

14.49
#221677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221677
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221677#FFFFFF#000000##FFFFFF
##2216771.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #221677;
/* rgb */ color: rgb(34, 22, 119);
/* oklch */ color: oklch(29.8% 0.153 277.2);
Tailwind
colors: {
  custom: {
    50: '#6b569f',
    500: '#221677',
    950: '#000000',
  },
}
SCSS
$custom: #221677;
$custom-light: #6b569f;
$custom-dark: #000000;
JSON
{
  "hex": "#221677",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 247.423,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.15334,
    "h": 277.2
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#221677
secondary
#9FAC3C
accent
#EC3CD6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221677

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

Preview Lab → · Contrast checker → · Palette generator →

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