#18146D#18146D

#18146D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.145 H 273.4°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#18146D
RGBrgb(24, 20, 109)
HSLhsl(243, 69%, 25%)
HSVhsv(243, 82%, 43%)
CMYKcmyk(78%, 81.7%, 0%, 57.3%)
CIE-LABlab(14.39, 33.53, -50.05)
CIE-LCHlch(14.39, 60.24, 303.82°)
OKLaboklab(27.66% 0.0086 -0.1448)
OKLCHoklch(27.66% 0.145 273.4)
XYZxyz(3.3862, 1.7983, 14.6337)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18146D #696D14
analogous
#143C6D #18146D #45146D
triadic
#18146D #6D1814 #146D18
tetradic
#18146D #6D143C #696D14 #146D45
square
#18146D #6D143C #696D14 #146D45
split-complementary
#18146D #6D4514 #3C6D14
monochromatic
#06051A #0D0B39 #18146D #231DA1 #2F27D4

Accessibility & contrast

On white

15.44
#18146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#18146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18146D
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18146D#FFFFFF#000000##FFFFFF
##18146D1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18146d;
/* rgb */ color: rgb(24, 20, 109);
/* oklch */ color: oklch(27.7% 0.145 273.4);
Tailwind
colors: {
  custom: {
    50: '#655398',
    500: '#18146d',
    950: '#000000',
  },
}
SCSS
$custom: #18146d;
$custom-light: #655398;
$custom-dark: #000000;
JSON
{
  "hex": "#18146d",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 242.697,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27655,
    "c": 0.14506,
    "h": 273.4
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#18146D
secondary
#9FA439
accent
#EC3CE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #18146D

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

Preview Lab → · Contrast checker → · Palette generator →

#18146D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva