#16227E#16227E

#16227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.153 H 268.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#16227E
RGBrgb(22, 34, 126)
HSLhsl(233, 70%, 29%)
HSVhsv(233, 83%, 49%)
CMYKcmyk(82.5%, 73%, 0%, 50.6%)
CIE-LABlab(19.31, 30.90, -52.87)
CIE-LCHlch(19.31, 61.24, 300.30°)
OKLaboklab(31.7% -0.0029 -0.1532)
OKLCHoklch(31.7% 0.153 268.9)
XYZxyz(4.6675, 2.8204, 20.0330)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16227E #7E7216
analogous
#16567E #16227E #3E167E
triadic
#16227E #7E1622 #227E16
tetradic
#16227E #7E1656 #7E7216 #167E3E
square
#16227E #7E1656 #7E7216 #167E3E
split-complementary
#16227E #7E3E16 #567E16
monochromatic
#05071A #0D144A #16227E #1F30B2 #3346DB

Accessibility & contrast

On white

13.43
#16227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#16227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16227E
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16227E#FFFFFF#000000##FFFFFF
##16227E1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #16227e;
/* rgb */ color: rgb(22, 34, 126);
/* oklch */ color: oklch(31.7% 0.153 268.9);
Tailwind
colors: {
  custom: {
    50: '#685da4',
    500: '#16227e',
    950: '#000000',
  },
}
SCSS
$custom: #16227e;
$custom-light: #685da4;
$custom-dark: #000000;
JSON
{
  "hex": "#16227e",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 233.077,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31701,
    "c": 0.15319,
    "h": 268.9
  },
  "luminance": 0.02821
}

Semantic roles & 50–950 ramp

primary
#16227E
secondary
#B3A53D
accent
#D83BED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16227E

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

Preview Lab → · Contrast checker → · Palette generator →

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