#18105F#18105F

#18105F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.131 H 276.2°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#18105F
RGBrgb(24, 16, 95)
HSLhsl(246, 71%, 22%)
HSVhsv(246, 83%, 37%)
CMYKcmyk(74.7%, 83.2%, 0%, 62.7%)
CIE-LABlab(11.90, 30.93, -44.92)
CIE-LCHlch(11.90, 54.54, 304.55°)
OKLaboklab(25.41% 0.0142 -0.1299)
OKLCHoklch(25.41% 0.131 276.2)
XYZxyz(2.6269, 1.3908, 10.9543)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18105F #575F10
analogous
#10305F #18105F #40105F
triadic
#18105F #5F1810 #105F18
tetradic
#18105F #5F1030 #575F10 #105F40
square
#18105F #5F1030 #575F10 #105F40
split-complementary
#18105F #5F4010 #305F10
monochromatic
#07041A #0B072B #18105F #251993 #3222C8

Accessibility & contrast

On white

16.43
#18105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#18105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18105F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18105F#FFFFFF#000000##FFFFFF
##18105F1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001C5E
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #18105f;
/* rgb */ color: rgb(24, 16, 95);
/* oklch */ color: oklch(25.4% 0.131 276.2);
Tailwind
colors: {
  custom: {
    50: '#62508d',
    500: '#18105f',
    950: '#000000',
  },
}
SCSS
$custom: #18105f;
$custom-light: #62508d;
$custom-dark: #000000;
JSON
{
  "hex": "#18105f",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 246.076,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25407,
    "c": 0.13063,
    "h": 276.2
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#18105F
secondary
#8E9833
accent
#EE3ADC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #18105F

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

Preview Lab → · Contrast checker → · Palette generator →

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