#16227D#16227D

#16227D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.152 H 269.0°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#16227D
RGBrgb(22, 34, 125)
HSLhsl(233, 70%, 29%)
HSVhsv(233, 82%, 49%)
CMYKcmyk(82.4%, 72.8%, 0%, 51%)
CIE-LABlab(19.20, 30.52, -52.41)
CIE-LCHlch(19.20, 60.65, 300.21°)
OKLaboklab(31.59% -0.0028 -0.1518)
OKLCHoklch(31.59% 0.152 269)
XYZxyz(4.6033, 2.7948, 19.6949)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16227D #7D7116
analogous
#16567D #16227D #3E167D
triadic
#16227D #7D1622 #227D16
tetradic
#16227D #7D1656 #7D7116 #167D3E
square
#16227D #7D1656 #7D7116 #167D3E
split-complementary
#16227D #7D3E16 #567D16
monochromatic
#05071A #0D1449 #16227D #1F30B1 #3246DB

Accessibility & contrast

On white

13.47
#16227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16227D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16227D#FFFFFF#000000##FFFFFF
##16227D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #16227d;
/* rgb */ color: rgb(22, 34, 125);
/* oklch */ color: oklch(31.6% 0.152 269.0);
Tailwind
colors: {
  custom: {
    50: '#685da4',
    500: '#16227d',
    950: '#000000',
  },
}
SCSS
$custom: #16227d;
$custom-light: #685da4;
$custom-dark: #000000;
JSON
{
  "hex": "#16227d",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 233.01,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31591,
    "c": 0.15186,
    "h": 269
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16227D

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

Preview Lab → · Contrast checker → · Palette generator →

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