#16125B#16125B

#16125B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.124 H 275.2°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#16125B
RGBrgb(22, 18, 91)
HSLhsl(243, 67%, 21%)
HSVhsv(243, 80%, 36%)
CMYKcmyk(75.8%, 80.2%, 0%, 64.3%)
CIE-LABlab(11.68, 28.10, -42.60)
CIE-LCHlch(11.68, 51.03, 303.40°)
OKLaboklab(25.07% 0.0111 -0.1232)
OKLCHoklch(25.07% 0.124 275.2)
XYZxyz(2.4349, 1.3583, 10.0294)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16125B #575B12
analogous
#12335B #16125B #3B125B
triadic
#16125B #5B1612 #125B16
tetradic
#16125B #5B1233 #575B12 #125B3B
square
#16125B #5B1233 #575B12 #125B3B
split-complementary
#16125B #5B3B12 #335B12
monochromatic
#06051A #0A0828 #16125B #221C8E #2F26C1

Accessibility & contrast

On white

16.51
#16125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#16125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16125B
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16125B#FFFFFF#000000##FFFFFF
##16125B1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #16125b;
/* rgb */ color: rgb(22, 18, 91);
/* oklch */ color: oklch(25.1% 0.124 275.2);
Tailwind
colors: {
  custom: {
    50: '#60518a',
    500: '#16125b',
    950: '#000000',
  },
}
SCSS
$custom: #16125b;
$custom-light: #60518a;
$custom-dark: #000000;
JSON
{
  "hex": "#16125b",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 243.288,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2507,
    "c": 0.12369,
    "h": 275.2
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#16125B
secondary
#8E9335
accent
#EA3EE0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #16125B

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

Preview Lab → · Contrast checker → · Palette generator →

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