#16227B#16227B

#16227B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.149 H 269.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#16227B
RGBrgb(22, 34, 123)
HSLhsl(233, 70%, 28%)
HSVhsv(233, 82%, 48%)
CMYKcmyk(82.1%, 72.4%, 0%, 51.8%)
CIE-LABlab(18.99, 29.76, -51.49)
CIE-LCHlch(18.99, 59.47, 300.02°)
OKLaboklab(31.37% -0.0026 -0.1491)
OKLCHoklch(31.37% 0.149 269)
XYZxyz(4.4768, 2.7442, 19.0288)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16227B #7B6F16
analogous
#16547B #16227B #3C167B
triadic
#16227B #7B1622 #227B16
tetradic
#16227B #7B1654 #7B6F16 #167B3C
square
#16227B #7B1654 #7B6F16 #167B3C
split-complementary
#16227B #7B3C16 #547B16
monochromatic
#05071A #0D1447 #16227B #1F30AF #3145DA

Accessibility & contrast

On white

13.56
#16227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#16227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16227B
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16227B#FFFFFF#000000##FFFFFF
##16227B1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #16227b;
/* rgb */ color: rgb(22, 34, 123);
/* oklch */ color: oklch(31.4% 0.149 269.0);
Tailwind
colors: {
  custom: {
    50: '#675da2',
    500: '#16227b',
    950: '#000000',
  },
}
SCSS
$custom: #16227b;
$custom-light: #675da2;
$custom-dark: #000000;
JSON
{
  "hex": "#16227b",
  "rgb": {
    "r": 22,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 232.871,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31373,
    "c": 0.14916,
    "h": 269
  },
  "luminance": 0.02745
}

Semantic roles & 50–950 ramp

primary
#16227B
secondary
#B0A23D
accent
#D73BEC
background
#F6F5FA
surface
#EBE9F4
border
#C6C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #16227B

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

Preview Lab → · Contrast checker → · Palette generator →

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