#181345#181345

#181345 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.0% C 0.090 H 281.2°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#181345
RGBrgb(24, 19, 69)
HSLhsl(246, 57%, 17%)
HSVhsv(246, 72%, 27%)
CMYKcmyk(65.2%, 72.5%, 0%, 72.9%)
CIE-LABlab(9.72, 19.49, -30.70)
CIE-LCHlch(9.72, 36.36, 302.41°)
OKLaboklab(22.99% 0.0174 -0.0883)
OKLCHoklch(22.99% 0.09 281.2)
XYZxyz(1.6834, 1.0895, 5.7507)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181345 #404513
analogous
#132745 #181345 #311345
triadic
#181345 #451813 #134518
tetradic
#181345 #451327 #404513 #134531
square
#181345 #451327 #404513 #134531
split-complementary
#181345 #453113 #274513
monochromatic
#080718 #080718 #181345 #292075 #392DA5

Accessibility & contrast

On white

17.24
#181345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#181345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181345
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181345#FFFFFF#000000##FFFFFF
##1813451.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#012029
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181345;
/* rgb */ color: rgb(24, 19, 69);
/* oklch */ color: oklch(23.0% 0.090 281.2);
Tailwind
colors: {
  custom: {
    50: '#5b5179',
    500: '#181345',
    950: '#000000',
  },
}
SCSS
$custom: #181345;
$custom-light: #5b5179;
$custom-dark: #000000;
JSON
{
  "hex": "#181345",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 246,
    "s": 56.818,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22987,
    "c": 0.09001,
    "h": 281.2
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#181345
secondary
#777E36
accent
#E048D1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #181345

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

Preview Lab → · Contrast checker → · Palette generator →

#181345 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva