#18106D#18106D

#18106D is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.149 H 273.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#18106D
RGBrgb(24, 16, 109)
HSLhsl(245, 74%, 25%)
HSVhsv(245, 85%, 43%)
CMYKcmyk(78%, 85.3%, 0%, 57.3%)
CIE-LABlab(13.64, 35.70, -51.29)
CIE-LCHlch(13.64, 62.49, 304.84°)
OKLaboklab(27.13% 0.0102 -0.1483)
OKLCHoklch(27.13% 0.149 273.9)
XYZxyz(3.3214, 1.6686, 14.6121)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18106D #656D10
analogous
#10376D #18106D #47106D
triadic
#18106D #6D1810 #106D18
tetradic
#18106D #6D1037 #656D10 #106D47
square
#18106D #6D1037 #656D10 #106D47
split-complementary
#18106D #6D4710 #376D10
monochromatic
#06041B #0C0838 #18106D #2418A2 #3020D8

Accessibility & contrast

On white

15.74
#18106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#18106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18106D
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18106D#FFFFFF#000000##FFFFFF
##18106D1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002770
Deuteranopia (green-blind)
#001E6B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #18106d;
/* rgb */ color: rgb(24, 16, 109);
/* oklch */ color: oklch(27.1% 0.149 273.9);
Tailwind
colors: {
  custom: {
    50: '#665198',
    500: '#18106d',
    950: '#000000',
  },
}
SCSS
$custom: #18106d;
$custom-light: #665198;
$custom-dark: #000000;
JSON
{
  "hex": "#18106d",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 245.161,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27133,
    "c": 0.14869,
    "h": 273.9
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#18106D
secondary
#9BA534
accent
#F137E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #18106D

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

Preview Lab → · Contrast checker → · Palette generator →

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