#18146E#18146E

#18146E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.146 H 273.3°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#18146E
RGBrgb(24, 20, 110)
HSLhsl(243, 69%, 25%)
HSVhsv(243, 82%, 43%)
CMYKcmyk(78.2%, 81.8%, 0%, 56.9%)
CIE-LABlab(14.51, 33.88, -50.50)
CIE-LCHlch(14.51, 60.81, 303.86°)
OKLaboklab(27.78% 0.0084 -0.1461)
OKLCHoklch(27.78% 0.146 273.3)
XYZxyz(3.4404, 1.8199, 14.9188)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18146E #6A6E14
analogous
#143D6E #18146E #45146E
triadic
#18146E #6E1814 #146E18
tetradic
#18146E #6E143D #6A6E14 #146E45
square
#18146E #6E143D #6A6E14 #146E45
split-complementary
#18146E #6E4514 #3D6E14
monochromatic
#06051A #0D0B3A #18146E #231DA2 #2F27D6

Accessibility & contrast

On white

15.40
#18146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18146E
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18146E#FFFFFF#000000##FFFFFF
##18146E1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18146e;
/* rgb */ color: rgb(24, 20, 110);
/* oklch */ color: oklch(27.8% 0.146 273.3);
Tailwind
colors: {
  custom: {
    50: '#655399',
    500: '#18146e',
    950: '#000000',
  },
}
SCSS
$custom: #18146e;
$custom-light: #655399;
$custom-dark: #000000;
JSON
{
  "hex": "#18146e",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 242.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27776,
    "c": 0.14636,
    "h": 273.3
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#18146E
secondary
#A0A539
accent
#EC3CE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #18146E

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

Preview Lab → · Contrast checker → · Palette generator →

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