#10155E#10155E

#10155E is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.5% C 0.126 H 270.5°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#10155E
RGBrgb(16, 21, 94)
HSLhsl(236, 71%, 22%)
HSVhsv(236, 83%, 37%)
CMYKcmyk(83%, 77.7%, 0%, 63.1%)
CIE-LABlab(12.32, 26.68, -43.58)
CIE-LCHlch(12.32, 51.10, 301.48°)
OKLaboklab(25.52% 0.0011 -0.1262)
OKLCHoklch(25.52% 0.126 270.5)
XYZxyz(2.5015, 1.4544, 10.7364)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10155E #5E5910
analogous
#103C5E #10155E #32105E
triadic
#10155E #5E1015 #155E10
tetradic
#10155E #5E103C #5E5910 #105E32
square
#10155E #5E103C #5E5910 #105E32
split-complementary
#10155E #5E3210 #3C5E10
monochromatic
#04061A #07092A #10155E #192192 #222CC7

Accessibility & contrast

On white

16.27
#10155E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10155E
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10155E#FFFFFF#000000##FFFFFF
##10155E1.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002A38
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #10155e;
/* rgb */ color: rgb(16, 21, 94);
/* oklch */ color: oklch(25.5% 0.126 270.5);
Tailwind
colors: {
  custom: {
    50: '#5e538d',
    500: '#10155e',
    950: '#000000',
  },
}
SCSS
$custom: #10155e;
$custom-light: #5e538d;
$custom-dark: #000000;
JSON
{
  "hex": "#10155e",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 94
  },
  "hsl": {
    "h": 236.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25521,
    "c": 0.1262,
    "h": 270.5
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#10155E
secondary
#979133
accent
#E23AEE
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #10155E

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

Preview Lab → · Contrast checker → · Palette generator →

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