#18105D#18105D

#18105D is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.2% C 0.128 H 276.6°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#18105D
RGBrgb(24, 16, 93)
HSLhsl(246, 71%, 21%)
HSVhsv(246, 83%, 36%)
CMYKcmyk(74.2%, 82.8%, 0%, 63.5%)
CIE-LABlab(11.65, 30.23, -43.98)
CIE-LCHlch(11.65, 53.37, 304.50°)
OKLaboklab(25.17% 0.0147 -0.1271)
OKLCHoklch(25.17% 0.128 276.6)
XYZxyz(2.5371, 1.3549, 10.4816)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18105D #555D10
analogous
#102F5D #18105D #3F105D
triadic
#18105D #5D1810 #105D18
tetradic
#18105D #5D102F #555D10 #105D3F
square
#18105D #5D102F #555D10 #105D3F
split-complementary
#18105D #5D3F10 #2F5D10
monochromatic
#07041A #0B0729 #18105D #251991 #3322C5

Accessibility & contrast

On white

16.52
#18105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#18105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18105D
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18105D#FFFFFF#000000##FFFFFF
##18105D1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001B5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18105d;
/* rgb */ color: rgb(24, 16, 93);
/* oklch */ color: oklch(25.2% 0.128 276.6);
Tailwind
colors: {
  custom: {
    50: '#61508c',
    500: '#18105d',
    950: '#000000',
  },
}
SCSS
$custom: #18105d;
$custom-light: #61508c;
$custom-dark: #000000;
JSON
{
  "hex": "#18105d",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 246.234,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25166,
    "c": 0.12797,
    "h": 276.6
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#18105D
secondary
#8C9633
accent
#ED3ADB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18105D

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

Preview Lab → · Contrast checker → · Palette generator →

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