#10155A#10155A

#10155A is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.1% C 0.121 H 270.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#10155A
RGBrgb(16, 21, 90)
HSLhsl(236, 70%, 21%)
HSVhsv(236, 82%, 35%)
CMYKcmyk(82.2%, 76.7%, 0%, 64.7%)
CIE-LABlab(11.85, 25.12, -41.65)
CIE-LCHlch(11.85, 48.64, 301.09°)
OKLaboklab(25.05% 0.0017 -0.1206)
OKLCHoklch(25.05% 0.121 270.8)
XYZxyz(2.3267, 1.3844, 9.8155)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10155A #5A5510
analogous
#103A5A #10155A #30105A
triadic
#10155A #5A1015 #155A10
tetradic
#10155A #5A103A #5A5510 #105A30
square
#10155A #5A103A #5A5510 #105A30
split-complementary
#10155A #5A3010 #3A5A10
monochromatic
#05061A #070926 #10155A #19218E #222DC2

Accessibility & contrast

On white

16.44
#10155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10155A
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10155A#FFFFFF#000000##FFFFFF
##10155A1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #10155a;
/* rgb */ color: rgb(16, 21, 90);
/* oklch */ color: oklch(25.1% 0.121 270.8);
Tailwind
colors: {
  custom: {
    50: '#5d5389',
    500: '#10155a',
    950: '#000000',
  },
}
SCSS
$custom: #10155a;
$custom-light: #5d5389;
$custom-dark: #000000;
JSON
{
  "hex": "#10155a",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 235.946,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25053,
    "c": 0.1206,
    "h": 270.8
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#10155A
secondary
#938D33
accent
#E13BED
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10155A

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

Preview Lab → · Contrast checker → · Palette generator →

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