#10155C#10155C

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

Color values

HEX#10155C
RGBrgb(16, 21, 92)
HSLhsl(236, 70%, 21%)
HSVhsv(236, 83%, 36%)
CMYKcmyk(82.6%, 77.2%, 0%, 63.9%)
CIE-LABlab(12.08, 25.91, -42.62)
CIE-LCHlch(12.08, 49.88, 301.29°)
OKLaboklab(25.29% 0.0014 -0.1234)
OKLCHoklch(25.29% 0.123 270.6)
XYZxyz(2.4130, 1.4189, 10.2698)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10155C #5C5710
analogous
#103B5C #10155C #31105C
triadic
#10155C #5C1015 #155C10
tetradic
#10155C #5C103B #5C5710 #105C31
square
#10155C #5C103B #5C5710 #105C31
split-complementary
#10155C #5C3110 #3B5C10
monochromatic
#05061A #070928 #10155C #192190 #222DC4

Accessibility & contrast

On white

16.36
#10155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10155C
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10155C#FFFFFF#000000##FFFFFF
##10155C1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #10155c;
/* rgb */ color: rgb(16, 21, 92);
/* oklch */ color: oklch(25.3% 0.123 270.6);
Tailwind
colors: {
  custom: {
    50: '#5e538b',
    500: '#10155c',
    950: '#000000',
  },
}
SCSS
$custom: #10155c;
$custom-light: #5e538b;
$custom-dark: #000000;
JSON
{
  "hex": "#10155c",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 236.053,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25286,
    "c": 0.12342,
    "h": 270.6
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#10155C
secondary
#958F33
accent
#E13BED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10155C

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

Preview Lab → · Contrast checker → · Palette generator →

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