#18146F#18146F

#18146F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.148 H 273.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#18146F
RGBrgb(24, 20, 111)
HSLhsl(243, 69%, 26%)
HSVhsv(243, 82%, 44%)
CMYKcmyk(78.4%, 82%, 0%, 56.5%)
CIE-LABlab(14.63, 34.23, -50.95)
CIE-LCHlch(14.63, 61.38, 303.89°)
OKLaboklab(27.9% 0.0081 -0.1474)
OKLCHoklch(27.9% 0.148 273.2)
XYZxyz(3.4951, 1.8418, 15.2072)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18146F #6B6F14
analogous
#143D6F #18146F #45146F
triadic
#18146F #6F1814 #146F18
tetradic
#18146F #6F143D #6B6F14 #146F45
square
#18146F #6F143D #6B6F14 #146F45
split-complementary
#18146F #6F4514 #3D6F14
monochromatic
#06051A #0D0B3B #18146F #231DA3 #2E27D7

Accessibility & contrast

On white

15.35
#18146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#18146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18146F
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18146F#FFFFFF#000000##FFFFFF
##18146F1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #18146f;
/* rgb */ color: rgb(24, 20, 111);
/* oklch */ color: oklch(27.9% 0.148 273.2);
Tailwind
colors: {
  custom: {
    50: '#665499',
    500: '#18146f',
    950: '#000000',
  },
}
SCSS
$custom: #18146f;
$custom-light: #665499;
$custom-dark: #000000;
JSON
{
  "hex": "#18146f",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 242.637,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27897,
    "c": 0.14764,
    "h": 273.2
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#18146F
secondary
#A1A639
accent
#EC3CE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #18146F

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

Preview Lab → · Contrast checker → · Palette generator →

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