#18106F#18106F

#18106F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.4% C 0.151 H 273.7°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#18106F
RGBrgb(24, 16, 111)
HSLhsl(245, 75%, 25%)
HSVhsv(245, 86%, 44%)
CMYKcmyk(78.4%, 85.6%, 0%, 56.5%)
CIE-LABlab(13.90, 36.37, -52.17)
CIE-LCHlch(13.90, 63.59, 304.88°)
OKLaboklab(27.38% 0.0096 -0.1509)
OKLCHoklch(27.38% 0.151 273.7)
XYZxyz(3.4303, 1.7121, 15.1855)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18106F #676F10
analogous
#10376F #18106F #48106F
triadic
#18106F #6F1810 #106F18
tetradic
#18106F #6F1037 #676F10 #106F48
square
#18106F #6F1037 #676F10 #106F48
split-complementary
#18106F #6F4810 #376F10
monochromatic
#06041B #0C083A #18106F #2418A4 #2F1FDA

Accessibility & contrast

On white

15.64
#18106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#18106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18106F
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18106F#FFFFFF#000000##FFFFFF
##18106F1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18106f;
/* rgb */ color: rgb(24, 16, 111);
/* oklch */ color: oklch(27.4% 0.151 273.7);
Tailwind
colors: {
  custom: {
    50: '#665199',
    500: '#18106f',
    950: '#000000',
  },
}
SCSS
$custom: #18106f;
$custom-light: #665199;
$custom-dark: #000000;
JSON
{
  "hex": "#18106f",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 245.053,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27384,
    "c": 0.15121,
    "h": 273.7
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#18106F
secondary
#9DA734
accent
#F136E2
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #18106F

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

Preview Lab → · Contrast checker → · Palette generator →

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