#22176A#22176A

#22176A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.136 H 279.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#22176A
RGBrgb(34, 23, 106)
HSLhsl(248, 64%, 25%)
HSVhsv(248, 78%, 42%)
CMYKcmyk(67.9%, 78.3%, 0%, 58.4%)
CIE-LABlab(15.45, 31.83, -46.31)
CIE-LCHlch(15.45, 56.19, 304.50°)
OKLaboklab(28.5% 0.0222 -0.1337)
OKLCHoklch(28.5% 0.136 279.4)
XYZxyz(3.5668, 1.9932, 13.8296)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22176A #5F6A17
analogous
#17356A #22176A #4B176A
triadic
#22176A #6A2217 #176A22
tetradic
#22176A #6A1735 #5F6A17 #176A4B
square
#22176A #6A1735 #5F6A17 #176A4B
split-complementary
#22176A #6A4B17 #356A17
monochromatic
#080519 #120C38 #22176A #32229C #422DCF

Accessibility & contrast

On white

15.02
#22176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#22176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22176A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22176A#FFFFFF#000000##FFFFFF
##22176A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #22176a;
/* rgb */ color: rgb(34, 23, 106);
/* oklch */ color: oklch(28.5% 0.136 279.4);
Tailwind
colors: {
  custom: {
    50: '#685696',
    500: '#22176a',
    950: '#000000',
  },
}
SCSS
$custom: #22176a;
$custom-light: #685696;
$custom-dark: #000000;
JSON
{
  "hex": "#22176a",
  "rgb": {
    "r": 34,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 247.952,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28504,
    "c": 0.1355,
    "h": 279.4
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#22176A
secondary
#93A03D
accent
#E740D1
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #22176A

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

Preview Lab → · Contrast checker → · Palette generator →

#22176A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva