#221976#221976

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

Color values

HEX#221976
RGBrgb(34, 25, 118)
HSLhsl(246, 65%, 28%)
HSVhsv(246, 79%, 46%)
CMYKcmyk(71.2%, 78.8%, 0%, 53.7%)
CIE-LABlab(17.19, 34.76, -51.23)
CIE-LCHlch(17.19, 61.91, 304.16°)
OKLaboklab(30.13% 0.0179 -0.148)
OKLCHoklch(30.13% 0.149 276.9)
XYZxyz(4.2763, 2.3430, 17.3629)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221976 #6D7619
analogous
#193F76 #221976 #501976
triadic
#221976 #762219 #197622
tetradic
#221976 #76193F #6D7619 #197650
square
#221976 #76193F #6D7619 #197650
split-complementary
#221976 #765019 #3F7619
monochromatic
#070519 #130E43 #221976 #3124A8 #4535D4

Accessibility & contrast

On white

14.30
#221976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#221976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221976
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221976#FFFFFF#000000##FFFFFF
##2219761.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #221976;
/* rgb */ color: rgb(34, 25, 118);
/* oklch */ color: oklch(30.1% 0.149 276.9);
Tailwind
colors: {
  custom: {
    50: '#6b589f',
    500: '#221976',
    950: '#000000',
  },
}
SCSS
$custom: #221976;
$custom-light: #6b589f;
$custom-dark: #000000;
JSON
{
  "hex": "#221976",
  "rgb": {
    "r": 34,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 245.806,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.14911,
    "h": 276.9
  },
  "luminance": 0.02343
}

Semantic roles & 50–950 ramp

primary
#221976
secondary
#A1AB40
accent
#E840D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030F
muted
#7A787E

Preview Lab

Preview with #221976

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

Preview Lab → · Contrast checker → · Palette generator →

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