#221376#221376

#221376 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.155 H 277.8°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#221376
RGBrgb(34, 19, 118)
HSLhsl(249, 72%, 27%)
HSVhsv(249, 84%, 46%)
CMYKcmyk(71.2%, 83.9%, 0%, 53.7%)
CIE-LABlab(16.07, 37.99, -53.08)
CIE-LCHlch(16.07, 65.27, 305.59°)
OKLaboklab(29.35% 0.0211 -0.1533)
OKLCHoklch(29.35% 0.155 277.8)
XYZxyz(4.1615, 2.1135, 17.3247)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221376 #677613
analogous
#133676 #221376 #541376
triadic
#221376 #762213 #137622
tetradic
#221376 #761336 #677613 #137654
square
#221376 #761336 #677613 #137654
split-complementary
#221376 #765413 #367613
monochromatic
#08041A #130B41 #221376 #311BAB #4327DC

Accessibility & contrast

On white

14.76
#221376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#221376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221376
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221376#FFFFFF#000000##FFFFFF
##2213761.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #221376;
/* rgb */ color: rgb(34, 19, 118);
/* oklch */ color: oklch(29.3% 0.155 277.8);
Tailwind
colors: {
  custom: {
    50: '#6b549f',
    500: '#221376',
    950: '#000000',
  },
}
SCSS
$custom: #221376;
$custom-light: #6b549f;
$custom-dark: #000000;
JSON
{
  "hex": "#221376",
  "rgb": {
    "r": 34,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 249.091,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29346,
    "c": 0.15479,
    "h": 277.8
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#221376
secondary
#9BAC39
accent
#EF39D3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221376

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

Preview Lab → · Contrast checker → · Palette generator →

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