#18185A#18185A

#18185A is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.1% C 0.115 H 275.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#18185A
RGBrgb(24, 24, 90)
HSLhsl(240, 58%, 22%)
HSVhsv(240, 73%, 35%)
CMYKcmyk(73.3%, 73.3%, 0%, 64.7%)
CIE-LABlab(13.14, 24.04, -39.52)
CIE-LCHlch(13.14, 46.25, 301.31°)
OKLaboklab(26.12% 0.01 -0.1141)
OKLCHoklch(26.12% 0.115 275)
XYZxyz(2.5482, 1.5854, 9.8426)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18185A #5A5A18
analogous
#18395A #18185A #39185A
triadic
#18185A #5A1818 #185A18
tetradic
#18185A #5A1839 #5A5A18 #185A39
square
#18185A #5A1839 #5A5A18 #185A39
split-complementary
#18185A #5A3918 #395A18
monochromatic
#060618 #0B0B2A #18185A #25258A #3232BB

Accessibility & contrast

On white

15.94
#18185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18185A
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18185A#FFFFFF#000000##FFFFFF
##18185A1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#002A36
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #18185a;
/* rgb */ color: rgb(24, 24, 90);
/* oklch */ color: oklch(26.1% 0.115 275.0);
Tailwind
colors: {
  custom: {
    50: '#605589',
    500: '#18185a',
    950: '#000000',
  },
}
SCSS
$custom: #18185a;
$custom-light: #605589;
$custom-dark: #000000;
JSON
{
  "hex": "#18185a",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26123,
    "c": 0.11458,
    "h": 275
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#18185A
secondary
#91913D
accent
#E147E1
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #18185A

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

Preview Lab → · Contrast checker → · Palette generator →

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