#18106A#18106A

#18106A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.145 H 274.4°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#18106A
RGBrgb(24, 16, 106)
HSLhsl(245, 74%, 24%)
HSVhsv(245, 85%, 42%)
CMYKcmyk(77.4%, 84.9%, 0%, 58.4%)
CIE-LABlab(13.26, 34.69, -49.95)
CIE-LCHlch(13.26, 60.82, 304.78°)
OKLaboklab(26.76% 0.0111 -0.1445)
OKLCHoklch(26.76% 0.145 274.4)
XYZxyz(3.1626, 1.6051, 13.7760)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18106A #626A10
analogous
#10356A #18106A #45106A
triadic
#18106A #6A1810 #106A18
tetradic
#18106A #6A1035 #626A10 #106A45
square
#18106A #6A1035 #626A10 #106A45
split-complementary
#18106A #6A4510 #356A10
monochromatic
#06041B #0C0835 #18106A #24189F #3020D4

Accessibility & contrast

On white

15.90
#18106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#18106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18106A
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18106A#FFFFFF#000000##FFFFFF
##18106A1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266C
Deuteranopia (green-blind)
#001E68
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18106a;
/* rgb */ color: rgb(24, 16, 106);
/* oklch */ color: oklch(26.8% 0.145 274.4);
Tailwind
colors: {
  custom: {
    50: '#655196',
    500: '#18106a',
    950: '#000000',
  },
}
SCSS
$custom: #18106a;
$custom-light: #655196;
$custom-dark: #000000;
JSON
{
  "hex": "#18106a",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 245.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26758,
    "c": 0.14489,
    "h": 274.4
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#18106A
secondary
#98A234
accent
#F037E0
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #18106A

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

Preview Lab → · Contrast checker → · Palette generator →

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