#18105E#18105E

#18105E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.3% C 0.129 H 276.4°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#18105E
RGBrgb(24, 16, 94)
HSLhsl(246, 71%, 22%)
HSVhsv(246, 83%, 37%)
CMYKcmyk(74.5%, 83%, 0%, 63.1%)
CIE-LABlab(11.77, 30.58, -44.45)
CIE-LCHlch(11.77, 53.96, 304.53°)
OKLaboklab(25.29% 0.0144 -0.1285)
OKLCHoklch(25.29% 0.129 276.4)
XYZxyz(2.5817, 1.3727, 10.7164)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18105E #565E10
analogous
#102F5E #18105E #3F105E
triadic
#18105E #5E1810 #105E18
tetradic
#18105E #5E102F #565E10 #105E3F
square
#18105E #5E102F #565E10 #105E3F
split-complementary
#18105E #5E3F10 #2F5E10
monochromatic
#07041A #0B072A #18105E #251992 #3322C7

Accessibility & contrast

On white

16.48
#18105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18105E
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18105E#FFFFFF#000000##FFFFFF
##18105E1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18105e;
/* rgb */ color: rgb(24, 16, 94);
/* oklch */ color: oklch(25.3% 0.129 276.4);
Tailwind
colors: {
  custom: {
    50: '#62508d',
    500: '#18105e',
    950: '#000000',
  },
}
SCSS
$custom: #18105e;
$custom-light: #62508d;
$custom-dark: #000000;
JSON
{
  "hex": "#18105e",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 246.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25286,
    "c": 0.1293,
    "h": 276.4
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#18105E
secondary
#8D9733
accent
#EE3ADB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18105E

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

Preview Lab → · Contrast checker → · Palette generator →

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