#16125F#16125F

#16125F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.5% C 0.129 H 274.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#16125F
RGBrgb(22, 18, 95)
HSLhsl(243, 68%, 22%)
HSVhsv(243, 81%, 37%)
CMYKcmyk(76.8%, 81.1%, 0%, 62.7%)
CIE-LABlab(12.15, 29.55, -44.51)
CIE-LCHlch(12.15, 53.42, 303.58°)
OKLaboklab(25.55% 0.0102 -0.1287)
OKLCHoklch(25.55% 0.129 274.5)
XYZxyz(2.6121, 1.4292, 10.9624)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#16125F #5B5F12
analogous
#12355F #16125F #3D125F
triadic
#16125F #5F1612 #125F16
tetradic
#16125F #5F1235 #5B5F12 #125F3D
square
#16125F #5F1235 #5B5F12 #125F3D
split-complementary
#16125F #5F3D12 #355F12
monochromatic
#06051A #0A082C #16125F #221C92 #2E25C6

Accessibility & contrast

On white

16.33
#16125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#16125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #16125F
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##16125F#FFFFFF#000000##FFFFFF
##16125F1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002938
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #16125f;
/* rgb */ color: rgb(22, 18, 95);
/* oklch */ color: oklch(25.5% 0.129 274.5);
Tailwind
colors: {
  custom: {
    50: '#61518d',
    500: '#16125f',
    950: '#000000',
  },
}
SCSS
$custom: #16125f;
$custom-light: #61518d;
$custom-dark: #000000;
JSON
{
  "hex": "#16125f",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 243.117,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.12912,
    "h": 274.5
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #16125F

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

Preview Lab → · Contrast checker → · Palette generator →

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