#22186E#22186E

#22186E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.140 H 278.4°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#22186E
RGBrgb(34, 24, 110)
HSLhsl(247, 64%, 26%)
HSVhsv(247, 78%, 43%)
CMYKcmyk(69.1%, 78.2%, 0%, 56.9%)
CIE-LABlab(16.10, 32.61, -47.85)
CIE-LCHlch(16.10, 57.91, 304.27°)
OKLaboklab(29.09% 0.0205 -0.1382)
OKLCHoklch(29.09% 0.14 278.4)
XYZxyz(3.7999, 2.1188, 14.9576)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22186E #646E18
analogous
#18396E #22186E #4D186E
triadic
#22186E #6E2218 #186E22
tetradic
#22186E #6E1839 #646E18 #186E4D
square
#22186E #6E1839 #646E18 #186E4D
split-complementary
#22186E #6E4D18 #396E18
monochromatic
#080519 #120D3C #22186E #3223A0 #422FD2

Accessibility & contrast

On white

14.75
#22186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22186E
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22186E#FFFFFF#000000##FFFFFF
##22186E1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22186e;
/* rgb */ color: rgb(34, 24, 110);
/* oklch */ color: oklch(29.1% 0.140 278.4);
Tailwind
colors: {
  custom: {
    50: '#695799',
    500: '#22186e',
    950: '#000000',
  },
}
SCSS
$custom: #22186e;
$custom-light: #695799;
$custom-dark: #000000;
JSON
{
  "hex": "#22186e",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 246.977,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29093,
    "c": 0.1397,
    "h": 278.4
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#22186E
secondary
#98A43E
accent
#E741D4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #22186E

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

Preview Lab → · Contrast checker → · Palette generator →

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