#16125D#16125D

#16125D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.126 H 274.8°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#16125D
RGBrgb(22, 18, 93)
HSLhsl(243, 68%, 22%)
HSVhsv(243, 81%, 36%)
CMYKcmyk(76.3%, 80.6%, 0%, 63.5%)
CIE-LABlab(11.91, 28.82, -43.56)
CIE-LCHlch(11.91, 52.23, 303.49°)
OKLaboklab(25.31% 0.0106 -0.126)
OKLCHoklch(25.31% 0.126 274.8)
XYZxyz(2.5223, 1.3933, 10.4898)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16125D #595D12
analogous
#12345D #16125D #3C125D
triadic
#16125D #5D1612 #125D16
tetradic
#16125D #5D1234 #595D12 #125D3C
square
#16125D #5D1234 #595D12 #125D3C
split-complementary
#16125D #5D3C12 #345D12
monochromatic
#06051A #0A082A #16125D #221C90 #2E26C4

Accessibility & contrast

On white

16.42
#16125D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#16125D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16125D
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16125D#FFFFFF#000000##FFFFFF
##16125D1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #16125d;
/* rgb */ color: rgb(22, 18, 93);
/* oklch */ color: oklch(25.3% 0.126 274.8);
Tailwind
colors: {
  custom: {
    50: '#60518c',
    500: '#16125d',
    950: '#000000',
  },
}
SCSS
$custom: #16125d;
$custom-light: #60518c;
$custom-dark: #000000;
JSON
{
  "hex": "#16125d",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 93
  },
  "hsl": {
    "h": 243.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25307,
    "c": 0.12642,
    "h": 274.8
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#16125D
secondary
#909535
accent
#EA3DE1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16125D

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

Preview Lab → · Contrast checker → · Palette generator →

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