#18146C#18146C

#18146C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.144 H 273.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#18146C
RGBrgb(24, 20, 108)
HSLhsl(243, 69%, 25%)
HSVhsv(243, 81%, 42%)
CMYKcmyk(77.8%, 81.5%, 0%, 57.6%)
CIE-LABlab(14.27, 33.18, -49.59)
CIE-LCHlch(14.27, 59.67, 303.78°)
OKLaboklab(27.53% 0.0089 -0.1435)
OKLCHoklch(27.53% 0.144 273.5)
XYZxyz(3.3327, 1.7769, 14.3518)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18146C #686C14
analogous
#143C6C #18146C #44146C
triadic
#18146C #6C1814 #146C18
tetradic
#18146C #6C143C #686C14 #146C44
square
#18146C #6C143C #686C14 #146C44
split-complementary
#18146C #6C4414 #3C6C14
monochromatic
#06051A #0D0A38 #18146C #231EA0 #2F27D3

Accessibility & contrast

On white

15.49
#18146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18146C
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18146C#FFFFFF#000000##FFFFFF
##18146C1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18146c;
/* rgb */ color: rgb(24, 20, 108);
/* oklch */ color: oklch(27.5% 0.144 273.5);
Tailwind
colors: {
  custom: {
    50: '#655397',
    500: '#18146c',
    950: '#000000',
  },
}
SCSS
$custom: #18146c;
$custom-light: #655397;
$custom-dark: #000000;
JSON
{
  "hex": "#18146c",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 242.727,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.14376,
    "h": 273.5
  },
  "luminance": 0.01777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #18146C

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

Preview Lab → · Contrast checker → · Palette generator →

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