#16126C#16126C

#16126C is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.146 H 272.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#16126C
RGBrgb(22, 18, 108)
HSLhsl(243, 71%, 25%)
HSVhsv(243, 83%, 42%)
CMYKcmyk(79.6%, 83.3%, 0%, 57.6%)
CIE-LABlab(13.74, 34.14, -50.47)
CIE-LCHlch(13.74, 60.94, 304.08°)
OKLaboklab(27.13% 0.007 -0.1461)
OKLCHoklch(27.13% 0.146 272.7)
XYZxyz(3.2531, 1.6855, 14.3383)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16126C #686C12
analogous
#123B6C #16126C #43126C
triadic
#16126C #6C1612 #126C16
tetradic
#16126C #6C123B #686C12 #126C43
square
#16126C #6C123B #686C12 #126C43
split-complementary
#16126C #6C4312 #3B6C12
monochromatic
#05041A #0B0938 #16126C #211BA0 #2B23D5

Accessibility & contrast

On white

15.70
#16126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16126C
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16126C#FFFFFF#000000##FFFFFF
##16126C1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276E
Deuteranopia (green-blind)
#001F6A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #16126c;
/* rgb */ color: rgb(22, 18, 108);
/* oklch */ color: oklch(27.1% 0.146 272.7);
Tailwind
colors: {
  custom: {
    50: '#645297',
    500: '#16126c',
    950: '#000000',
  },
}
SCSS
$custom: #16126c;
$custom-light: #645297;
$custom-dark: #000000;
JSON
{
  "hex": "#16126c",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 242.667,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27129,
    "c": 0.14622,
    "h": 272.7
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#16126C
secondary
#9FA336
accent
#EE3AE6
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020E
muted
#7A787E

Preview Lab

Preview with #16126C

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

Preview Lab → · Contrast checker → · Palette generator →

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