#16126A#16126A

#16126A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.9% C 0.144 H 273.0°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#16126A
RGBrgb(22, 18, 106)
HSLhsl(243, 71%, 24%)
HSVhsv(243, 83%, 42%)
CMYKcmyk(79.2%, 83%, 0%, 58.4%)
CIE-LABlab(13.49, 33.44, -49.57)
CIE-LCHlch(13.49, 59.80, 304.00°)
OKLaboklab(26.88% 0.0075 -0.1434)
OKLCHoklch(26.88% 0.144 273)
XYZxyz(3.1478, 1.6435, 13.7842)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16126A #666A12
analogous
#123A6A #16126A #42126A
triadic
#16126A #6A1612 #126A16
tetradic
#16126A #6A123A #666A12 #126A42
square
#16126A #6A123A #666A12 #126A42
split-complementary
#16126A #6A4212 #3A6A12
monochromatic
#05041A #0B0936 #16126A #211B9E #2C24D3

Accessibility & contrast

On white

15.80
#16126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#16126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16126A
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16126A#FFFFFF#000000##FFFFFF
##16126A1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#001E68
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #16126a;
/* rgb */ color: rgb(22, 18, 106);
/* oklch */ color: oklch(26.9% 0.144 273.0);
Tailwind
colors: {
  custom: {
    50: '#645296',
    500: '#16126a',
    950: '#000000',
  },
}
SCSS
$custom: #16126a;
$custom-light: #645296;
$custom-dark: #000000;
JSON
{
  "hex": "#16126a",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 242.727,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.26881,
    "c": 0.14364,
    "h": 273
  },
  "luminance": 0.01644
}

Semantic roles & 50–950 ramp

primary
#16126A
secondary
#9DA236
accent
#EE3AE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #16126A

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

Preview Lab → · Contrast checker → · Palette generator →

#16126A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva