#18146A#18146A

#18146A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.141 H 273.8°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#18146A
RGBrgb(24, 20, 106)
HSLhsl(243, 68%, 25%)
HSVhsv(243, 81%, 42%)
CMYKcmyk(77.4%, 81.1%, 0%, 58.4%)
CIE-LABlab(14.03, 32.48, -48.68)
CIE-LCHlch(14.03, 58.52, 303.71°)
OKLaboklab(27.29% 0.0093 -0.1408)
OKLCHoklch(27.29% 0.141 273.8)
XYZxyz(3.2275, 1.7348, 13.7976)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18146A #666A14
analogous
#143B6A #18146A #43146A
triadic
#18146A #6A1814 #146A18
tetradic
#18146A #6A143B #666A14 #146A43
square
#18146A #6A143B #666A14 #146A43
split-complementary
#18146A #6A4314 #3B6A14
monochromatic
#06051A #0C0A37 #18146A #241E9D #2F27D1

Accessibility & contrast

On white

15.59
#18146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#18146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18146A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18146A#FFFFFF#000000##FFFFFF
##18146A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002E3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18146a;
/* rgb */ color: rgb(24, 20, 106);
/* oklch */ color: oklch(27.3% 0.141 273.8);
Tailwind
colors: {
  custom: {
    50: '#645396',
    500: '#18146a',
    950: '#000000',
  },
}
SCSS
$custom: #18146a;
$custom-light: #645396;
$custom-dark: #000000;
JSON
{
  "hex": "#18146a",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 242.791,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.27294,
    "c": 0.14115,
    "h": 273.8
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#18146A
secondary
#9CA139
accent
#EB3DE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #18146A

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

Preview Lab → · Contrast checker → · Palette generator →

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