#10155B#10155B

#10155B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.122 H 270.7°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#10155B
RGBrgb(16, 21, 91)
HSLhsl(236, 70%, 21%)
HSVhsv(236, 82%, 36%)
CMYKcmyk(82.4%, 76.9%, 0%, 64.3%)
CIE-LABlab(11.97, 25.51, -42.14)
CIE-LCHlch(11.97, 49.26, 301.19°)
OKLaboklab(25.17% 0.0016 -0.122)
OKLCHoklch(25.17% 0.122 270.7)
XYZxyz(2.3695, 1.4016, 10.0411)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10155B #5B5610
analogous
#103A5B #10155B #30105B
triadic
#10155B #5B1015 #155B10
tetradic
#10155B #5B103A #5B5610 #105B30
square
#10155B #5B103A #5B5610 #105B30
split-complementary
#10155B #5B3010 #3A5B10
monochromatic
#05061A #070927 #10155B #19218F #222DC3

Accessibility & contrast

On white

16.40
#10155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#10155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10155B
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10155B#FFFFFF#000000##FFFFFF
##10155B1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #10155b;
/* rgb */ color: rgb(16, 21, 91);
/* oklch */ color: oklch(25.2% 0.122 270.7);
Tailwind
colors: {
  custom: {
    50: '#5d538a',
    500: '#10155b',
    950: '#000000',
  },
}
SCSS
$custom: #10155b;
$custom-light: #5d538a;
$custom-dark: #000000;
JSON
{
  "hex": "#10155b",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 236,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25169,
    "c": 0.12201,
    "h": 270.7
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#10155B
secondary
#948E33
accent
#E13BED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10155B

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

Preview Lab → · Contrast checker → · Palette generator →

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