#18146B#18146B

#18146B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.4% C 0.142 H 273.7°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#18146B
RGBrgb(24, 20, 107)
HSLhsl(243, 69%, 25%)
HSVhsv(243, 81%, 42%)
CMYKcmyk(77.6%, 81.3%, 0%, 58%)
CIE-LABlab(14.15, 32.83, -49.14)
CIE-LCHlch(14.15, 59.10, 303.75°)
OKLaboklab(27.41% 0.0091 -0.1422)
OKLCHoklch(27.41% 0.142 273.7)
XYZxyz(3.2798, 1.7557, 14.0731)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18146B #676B14
analogous
#143B6B #18146B #44146B
triadic
#18146B #6B1814 #146B18
tetradic
#18146B #6B143B #676B14 #146B44
square
#18146B #6B143B #676B14 #146B44
split-complementary
#18146B #6B4414 #3B6B14
monochromatic
#06051A #0C0A37 #18146B #241E9F #2F27D2

Accessibility & contrast

On white

15.54
#18146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18146B
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18146B#FFFFFF#000000##FFFFFF
##18146B1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286D
Deuteranopia (green-blind)
#002069
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #18146b;
/* rgb */ color: rgb(24, 20, 107);
/* oklch */ color: oklch(27.4% 0.142 273.7);
Tailwind
colors: {
  custom: {
    50: '#655396',
    500: '#18146b',
    950: '#000000',
  },
}
SCSS
$custom: #18146b;
$custom-light: #655396;
$custom-dark: #000000;
JSON
{
  "hex": "#18146b",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 242.759,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27414,
    "c": 0.14246,
    "h": 273.7
  },
  "luminance": 0.01756
}

Semantic roles & 50–950 ramp

primary
#18146B
secondary
#9DA239
accent
#EB3CE3
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #18146B

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

Preview Lab → · Contrast checker → · Palette generator →

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