#18105C#18105C

#18105C is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.127 H 276.8°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#18105C
RGBrgb(24, 16, 92)
HSLhsl(246, 70%, 21%)
HSVhsv(246, 83%, 36%)
CMYKcmyk(73.9%, 82.6%, 0%, 63.9%)
CIE-LABlab(11.53, 29.88, -43.51)
CIE-LCHlch(11.53, 52.78, 304.48°)
OKLaboklab(25.05% 0.015 -0.1257)
OKLCHoklch(25.05% 0.127 276.8)
XYZxyz(2.4931, 1.3373, 10.2499)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18105C #545C10
analogous
#102E5C #18105C #3E105C
triadic
#18105C #5C1810 #105C18
tetradic
#18105C #5C102E #545C10 #105C3E
square
#18105C #5C102E #545C10 #105C3E
split-complementary
#18105C #5C3E10 #2E5C10
monochromatic
#07051A #0A0728 #18105C #261990 #3322C4

Accessibility & contrast

On white

16.57
#18105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18105C
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18105C#FFFFFF#000000##FFFFFF
##18105C1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18105c;
/* rgb */ color: rgb(24, 16, 92);
/* oklch */ color: oklch(25.0% 0.127 276.8);
Tailwind
colors: {
  custom: {
    50: '#61508b',
    500: '#18105c',
    950: '#000000',
  },
}
SCSS
$custom: #18105c;
$custom-light: #61508b;
$custom-dark: #000000;
JSON
{
  "hex": "#18105c",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 246.316,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25046,
    "c": 0.12663,
    "h": 276.8
  },
  "luminance": 0.01337
}

Semantic roles & 50–950 ramp

primary
#18105C
secondary
#8B9533
accent
#ED3BDA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18105C

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

Preview Lab → · Contrast checker → · Palette generator →

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