#16126D#16126D

#16126D is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.147 H 272.6°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#16126D
RGBrgb(22, 18, 109)
HSLhsl(243, 72%, 25%)
HSVhsv(243, 83%, 43%)
CMYKcmyk(79.8%, 83.5%, 0%, 57.3%)
CIE-LABlab(13.87, 34.48, -50.92)
CIE-LCHlch(13.87, 61.50, 304.11°)
OKLaboklab(27.25% 0.0067 -0.1473)
OKLCHoklch(27.25% 0.148 272.6)
XYZxyz(3.3066, 1.7070, 14.6202)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16126D #696D12
analogous
#123C6D #16126D #43126D
triadic
#16126D #6D1612 #126D16
tetradic
#16126D #6D123C #696D12 #126D43
square
#16126D #6D123C #696D12 #126D43
split-complementary
#16126D #6D4312 #3C6D12
monochromatic
#05041A #0B0938 #16126D #211BA2 #2B23D6

Accessibility & contrast

On white

15.66
#16126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#16126D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16126D
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16126D#FFFFFF#000000##FFFFFF
##16126D1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#001F6B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #16126d;
/* rgb */ color: rgb(22, 18, 109);
/* oklch */ color: oklch(27.3% 0.147 272.6);
Tailwind
colors: {
  custom: {
    50: '#655298',
    500: '#16126d',
    950: '#000000',
  },
}
SCSS
$custom: #16126d;
$custom-light: #655298;
$custom-dark: #000000;
JSON
{
  "hex": "#16126d",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 242.637,
    "s": 71.654,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27253,
    "c": 0.1475,
    "h": 272.6
  },
  "luminance": 0.01707
}

Semantic roles & 50–950 ramp

primary
#16126D
secondary
#9FA437
accent
#EE39E6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #16126D

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

Preview Lab → · Contrast checker → · Palette generator →

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