#10156A#10156A

#10156A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.0% C 0.142 H 269.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#10156A
RGBrgb(16, 21, 106)
HSLhsl(237, 74%, 24%)
HSVhsv(237, 85%, 42%)
CMYKcmyk(84.9%, 80.2%, 0%, 58.4%)
CIE-LABlab(13.75, 31.22, -49.16)
CIE-LCHlch(13.75, 58.24, 302.42°)
OKLaboklab(26.97% -0.001 -0.1424)
OKLCHoklch(26.97% 0.142 269.6)
XYZxyz(3.0825, 1.6867, 13.7960)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10156A #6A6510
analogous
#10426A #10156A #38106A
triadic
#10156A #6A1015 #156A10
tetradic
#10156A #6A1042 #6A6510 #106A38
square
#10156A #6A1042 #6A6510 #106A38
split-complementary
#10156A #6A3810 #426A10
monochromatic
#04051B #080A35 #10156A #18209F #202AD4

Accessibility & contrast

On white

15.70
#10156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#10156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10156A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10156A#FFFFFF#000000##FFFFFF
##10156A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#001E69
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #10156a;
/* rgb */ color: rgb(16, 21, 106);
/* oklch */ color: oklch(27.0% 0.142 269.6);
Tailwind
colors: {
  custom: {
    50: '#625396',
    500: '#10156a',
    950: '#000000',
  },
}
SCSS
$custom: #10156a;
$custom-light: #625396;
$custom-dark: #000000;
JSON
{
  "hex": "#10156a",
  "rgb": {
    "r": 16,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 236.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26965,
    "c": 0.14241,
    "h": 269.6
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#10156A
secondary
#A29C34
accent
#E637F0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #10156A

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

Preview Lab → · Contrast checker → · Palette generator →

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