#10155D#10155D

#10155D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.125 H 270.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#10155D
RGBrgb(16, 21, 93)
HSLhsl(236, 71%, 21%)
HSVhsv(236, 83%, 36%)
CMYKcmyk(82.8%, 77.4%, 0%, 63.5%)
CIE-LABlab(12.20, 26.29, -43.10)
CIE-LCHlch(12.20, 50.49, 301.39°)
OKLaboklab(25.4% 0.0013 -0.1248)
OKLCHoklch(25.4% 0.125 270.6)
XYZxyz(2.4570, 1.4365, 10.5016)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10155D #5D5810
analogous
#103C5D #10155D #32105D
triadic
#10155D #5D1015 #155D10
tetradic
#10155D #5D103C #5D5810 #105D32
square
#10155D #5D103C #5D5810 #105D32
split-complementary
#10155D #5D3210 #3C5D10
monochromatic
#04061A #070929 #10155D #192191 #222DC5

Accessibility & contrast

On white

16.31
#10155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#10155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10155D
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10155D#FFFFFF#000000##FFFFFF
##10155D1.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001C5C
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #10155d;
/* rgb */ color: rgb(16, 21, 93);
/* oklch */ color: oklch(25.4% 0.125 270.6);
Tailwind
colors: {
  custom: {
    50: '#5e538c',
    500: '#10155d',
    950: '#000000',
  },
}
SCSS
$custom: #10155d;
$custom-light: #5e538c;
$custom-dark: #000000;
JSON
{
  "hex": "#10155d",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 236.104,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25403,
    "c": 0.12482,
    "h": 270.6
  },
  "luminance": 0.01437
}

Semantic roles & 50–950 ramp

primary
#10155D
secondary
#969033
accent
#E23AED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10155D

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

Preview Lab → · Contrast checker → · Palette generator →

#10155D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva