#18105B#18105B

#18105B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.125 H 277.0°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#18105B
RGBrgb(24, 16, 91)
HSLhsl(246, 70%, 21%)
HSVhsv(246, 82%, 36%)
CMYKcmyk(73.6%, 82.4%, 0%, 64.3%)
CIE-LABlab(11.41, 29.53, -43.03)
CIE-LCHlch(11.41, 52.19, 304.46°)
OKLaboklab(24.93% 0.0153 -0.1244)
OKLCHoklch(24.93% 0.125 277)
XYZxyz(2.4497, 1.3199, 10.0212)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18105B #535B10
analogous
#102D5B #18105B #3D105B
triadic
#18105B #5B1810 #105B18
tetradic
#18105B #5B102D #535B10 #105B3D
square
#18105B #5B102D #535B10 #105B3D
split-complementary
#18105B #5B3D10 #2D5B10
monochromatic
#07051A #0A0727 #18105B #26198F #3322C3

Accessibility & contrast

On white

16.61
#18105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#18105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18105B
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18105B#FFFFFF#000000##FFFFFF
##18105B1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #18105b;
/* rgb */ color: rgb(24, 16, 91);
/* oklch */ color: oklch(24.9% 0.125 277.0);
Tailwind
colors: {
  custom: {
    50: '#61508a',
    500: '#18105b',
    950: '#000000',
  },
}
SCSS
$custom: #18105b;
$custom-light: #61508a;
$custom-dark: #000000;
JSON
{
  "hex": "#18105b",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 246.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24927,
    "c": 0.12529,
    "h": 277
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#18105B
secondary
#8A9433
accent
#ED3BDA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18105B

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

Preview Lab → · Contrast checker → · Palette generator →

#18105B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva