#10155F#10155F

#10155F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.128 H 270.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#10155F
RGBrgb(16, 21, 95)
HSLhsl(236, 71%, 22%)
HSVhsv(236, 83%, 37%)
CMYKcmyk(83.2%, 77.9%, 0%, 62.7%)
CIE-LABlab(12.43, 27.07, -44.06)
CIE-LCHlch(12.43, 51.71, 301.57°)
OKLaboklab(25.64% 0.0009 -0.1276)
OKLCHoklch(25.64% 0.128 270.4)
XYZxyz(2.5467, 1.4724, 10.9742)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10155F #5F5A10
analogous
#103D5F #10155F #33105F
triadic
#10155F #5F1015 #155F10
tetradic
#10155F #5F103D #5F5A10 #105F33
square
#10155F #5F103D #5F5A10 #105F33
split-complementary
#10155F #5F3310 #3D5F10
monochromatic
#04061A #07092B #10155F #192193 #222CC8

Accessibility & contrast

On white

16.22
#10155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #10155F
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10155F#FFFFFF#000000##FFFFFF
##10155F1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #10155f;
/* rgb */ color: rgb(16, 21, 95);
/* oklch */ color: oklch(25.6% 0.128 270.4);
Tailwind
colors: {
  custom: {
    50: '#5e538d',
    500: '#10155f',
    950: '#000000',
  },
}
SCSS
$custom: #10155f;
$custom-light: #5e538d;
$custom-dark: #000000;
JSON
{
  "hex": "#10155f",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 236.203,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25639,
    "c": 0.12758,
    "h": 270.4
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#10155F
secondary
#989233
accent
#E33AEE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #10155F

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

Preview Lab → · Contrast checker → · Palette generator →

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