#181349#181349

#181349 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.4% C 0.096 H 280.1°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#181349
RGBrgb(24, 19, 73)
HSLhsl(246, 59%, 18%)
HSVhsv(246, 74%, 29%)
CMYKcmyk(67.1%, 74%, 0%, 71.4%)
CIE-LABlab(10.11, 21.01, -32.85)
CIE-LCHlch(10.11, 38.99, 302.60°)
OKLaboklab(23.4% 0.0169 -0.0946)
OKLCHoklch(23.4% 0.096 280.1)
XYZxyz(1.8118, 1.1408, 6.4268)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181349 #444913
analogous
#132949 #181349 #331349
triadic
#181349 #491813 #134918
tetradic
#181349 #491329 #444913 #134933
square
#181349 #491329 #444913 #134933
split-complementary
#181349 #493313 #294913
monochromatic
#080618 #080618 #181349 #28207A #382CAA

Accessibility & contrast

On white

17.10
#181349 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181349 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181349
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181349#FFFFFF#000000##FFFFFF
##1813491.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181349;
/* rgb */ color: rgb(24, 19, 73);
/* oklch */ color: oklch(23.4% 0.096 280.1);
Tailwind
colors: {
  custom: {
    50: '#5c517c',
    500: '#181349',
    950: '#000000',
  },
}
SCSS
$custom: #181349;
$custom-light: #5c517c;
$custom-dark: #000000;
JSON
{
  "hex": "#181349",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 73
  },
  "hsl": {
    "h": 245.556,
    "s": 58.696,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23399,
    "c": 0.0961,
    "h": 280.1
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#181349
secondary
#7B8236
accent
#E246D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181349

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

Preview Lab → · Contrast checker → · Palette generator →

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