#22176E#22176E

#22176E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.141 H 278.6°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#22176E
RGBrgb(34, 23, 110)
HSLhsl(248, 65%, 26%)
HSVhsv(248, 79%, 43%)
CMYKcmyk(69.1%, 79.1%, 0%, 56.9%)
CIE-LABlab(15.89, 33.20, -48.19)
CIE-LCHlch(15.89, 58.52, 304.56°)
OKLaboklab(28.95% 0.0212 -0.1392)
OKLCHoklch(28.95% 0.141 278.6)
XYZxyz(3.7797, 2.0783, 14.9508)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22176E #636E17
analogous
#17376E #22176E #4D176E
triadic
#22176E #6E2217 #176E22
tetradic
#22176E #6E1737 #636E17 #176E4D
square
#22176E #6E1737 #636E17 #176E4D
split-complementary
#22176E #6E4D17 #376E17
monochromatic
#080519 #120C3B #22176E #3222A1 #412CD3

Accessibility & contrast

On white

14.83
#22176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#22176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22176E
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22176E#FFFFFF#000000##FFFFFF
##22176E1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B70
Deuteranopia (green-blind)
#00246C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #22176e;
/* rgb */ color: rgb(34, 23, 110);
/* oklch */ color: oklch(28.9% 0.141 278.6);
Tailwind
colors: {
  custom: {
    50: '#695699',
    500: '#22176e',
    950: '#000000',
  },
}
SCSS
$custom: #22176e;
$custom-light: #695699;
$custom-dark: #000000;
JSON
{
  "hex": "#22176e",
  "rgb": {
    "r": 34,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 247.586,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.14077,
    "h": 278.6
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#22176E
secondary
#97A43D
accent
#E83FD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22176E

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

Preview Lab → · Contrast checker → · Palette generator →

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