#16125C#16125C

#16125C is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.125 H 275.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#16125C
RGBrgb(22, 18, 92)
HSLhsl(243, 67%, 22%)
HSVhsv(243, 80%, 36%)
CMYKcmyk(76.1%, 80.4%, 0%, 63.9%)
CIE-LABlab(11.79, 28.46, -43.08)
CIE-LCHlch(11.79, 51.63, 303.45°)
OKLaboklab(25.19% 0.0109 -0.1246)
OKLCHoklch(25.19% 0.125 275)
XYZxyz(2.4783, 1.3757, 10.2581)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16125C #585C12
analogous
#12335C #16125C #3B125C
triadic
#16125C #5C1612 #125C16
tetradic
#16125C #5C1233 #585C12 #125C3B
square
#16125C #5C1233 #585C12 #125C3B
split-complementary
#16125C #5C3B12 #335C12
monochromatic
#06051A #0A0829 #16125C #221C8F #2E26C2

Accessibility & contrast

On white

16.47
#16125C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16125C
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16125C#FFFFFF#000000##FFFFFF
##16125C1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #16125c;
/* rgb */ color: rgb(22, 18, 92);
/* oklch */ color: oklch(25.2% 0.125 275.0);
Tailwind
colors: {
  custom: {
    50: '#60518b',
    500: '#16125c',
    950: '#000000',
  },
}
SCSS
$custom: #16125c;
$custom-light: #60518b;
$custom-dark: #000000;
JSON
{
  "hex": "#16125c",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 92
  },
  "hsl": {
    "h": 243.243,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25188,
    "c": 0.12505,
    "h": 275
  },
  "luminance": 0.01376
}

Semantic roles & 50–950 ramp

primary
#16125C
secondary
#8F9435
accent
#EA3EE1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16125C

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

Preview Lab → · Contrast checker → · Palette generator →

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