#10125B#10125B

#10125B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.125 H 271.4°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#10125B
RGBrgb(16, 18, 91)
HSLhsl(238, 70%, 21%)
HSVhsv(238, 82%, 36%)
CMYKcmyk(82.4%, 80.2%, 0%, 64.3%)
CIE-LABlab(11.26, 27.49, -43.31)
CIE-LCHlch(11.26, 51.30, 302.41°)
OKLaboklab(24.66% 0.003 -0.1254)
OKLCHoklch(24.66% 0.125 271.4)
XYZxyz(2.3177, 1.2978, 10.0239)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10125B #5B5910
analogous
#10375B #10125B #33105B
triadic
#10125B #5B1012 #125B10
tetradic
#10125B #5B1037 #5B5910 #105B33
square
#10125B #5B1037 #5B5910 #105B33
split-complementary
#10125B #5B3310 #375B10
monochromatic
#05051A #070827 #10125B #191C8F #2227C3

Accessibility & contrast

On white

16.67
#10125B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#10125B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10125B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10125B#FFFFFF#000000##FFFFFF
##10125B1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10125b;
/* rgb */ color: rgb(16, 18, 91);
/* oklch */ color: oklch(24.7% 0.125 271.4);
Tailwind
colors: {
  custom: {
    50: '#5e518a',
    500: '#10125b',
    950: '#000000',
  },
}
SCSS
$custom: #10125b;
$custom-light: #5e518a;
$custom-dark: #000000;
JSON
{
  "hex": "#10125b",
  "rgb": {
    "r": 16,
    "g": 18,
    "b": 91
  },
  "hsl": {
    "h": 238.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24664,
    "c": 0.12542,
    "h": 271.4
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#10125B
secondary
#949233
accent
#E83BED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10125B

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

Preview Lab → · Contrast checker → · Palette generator →

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