#16125E#16125E

#16125E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.128 H 274.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#16125E
RGBrgb(22, 18, 94)
HSLhsl(243, 68%, 22%)
HSVhsv(243, 81%, 37%)
CMYKcmyk(76.6%, 80.9%, 0%, 63.1%)
CIE-LABlab(12.03, 29.19, -44.03)
CIE-LCHlch(12.03, 52.83, 303.54°)
OKLaboklab(25.43% 0.0104 -0.1273)
OKLCHoklch(25.43% 0.128 274.7)
XYZxyz(2.5669, 1.4111, 10.7246)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16125E #5A5E12
analogous
#12345E #16125E #3C125E
triadic
#16125E #5E1612 #125E16
tetradic
#16125E #5E1234 #5A5E12 #125E3C
square
#16125E #5E1234 #5A5E12 #125E3C
split-complementary
#16125E #5E3C12 #345E12
monochromatic
#06051A #0A082B #16125E #221C91 #2E26C5

Accessibility & contrast

On white

16.38
#16125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #16125E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16125E#FFFFFF#000000##FFFFFF
##16125E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #16125e;
/* rgb */ color: rgb(22, 18, 94);
/* oklch */ color: oklch(25.4% 0.128 274.7);
Tailwind
colors: {
  custom: {
    50: '#61518d',
    500: '#16125e',
    950: '#000000',
  },
}
SCSS
$custom: #16125e;
$custom-light: #61518d;
$custom-dark: #000000;
JSON
{
  "hex": "#16125e",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 243.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25426,
    "c": 0.12777,
    "h": 274.7
  },
  "luminance": 0.01411
}

Semantic roles & 50–950 ramp

primary
#16125E
secondary
#919635
accent
#EB3DE2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #16125E

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

Preview Lab → · Contrast checker → · Palette generator →

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