#18105A#18105A

#18105A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.124 H 277.2°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#18105A
RGBrgb(24, 16, 90)
HSLhsl(246, 70%, 21%)
HSVhsv(246, 82%, 35%)
CMYKcmyk(73.3%, 82.2%, 0%, 64.7%)
CIE-LABlab(11.29, 29.18, -42.56)
CIE-LCHlch(11.29, 51.60, 304.44°)
OKLaboklab(24.81% 0.0155 -0.123)
OKLCHoklch(24.81% 0.124 277.2)
XYZxyz(2.4068, 1.3027, 9.7955)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18105A #525A10
analogous
#102D5A #18105A #3D105A
triadic
#18105A #5A1810 #105A18
tetradic
#18105A #5A102D #525A10 #105A3D
square
#18105A #5A102D #525A10 #105A3D
split-complementary
#18105A #5A3D10 #2D5A10
monochromatic
#07051A #0A0726 #18105A #26198E #3422C2

Accessibility & contrast

On white

16.66
#18105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18105A
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18105A#FFFFFF#000000##FFFFFF
##18105A1.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #18105a;
/* rgb */ color: rgb(24, 16, 90);
/* oklch */ color: oklch(24.8% 0.124 277.2);
Tailwind
colors: {
  custom: {
    50: '#61508a',
    500: '#18105a',
    950: '#000000',
  },
}
SCSS
$custom: #18105a;
$custom-light: #61508a;
$custom-dark: #000000;
JSON
{
  "hex": "#18105a",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 246.486,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.24808,
    "c": 0.12395,
    "h": 277.2
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#18105A
secondary
#899333
accent
#ED3BD9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #18105A

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

Preview Lab → · Contrast checker → · Palette generator →

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