#181348#181348

#181348 is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.3% C 0.095 H 280.4°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#181348
RGBrgb(24, 19, 72)
HSLhsl(246, 58%, 18%)
HSVhsv(246, 74%, 28%)
CMYKcmyk(66.7%, 73.6%, 0%, 71.8%)
CIE-LABlab(10.01, 20.63, -32.32)
CIE-LCHlch(10.01, 38.34, 302.55°)
OKLaboklab(23.3% 0.017 -0.093)
OKLCHoklch(23.3% 0.095 280.4)
XYZxyz(1.7789, 1.1277, 6.2536)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181348 #434813
analogous
#132948 #181348 #321348
triadic
#181348 #481813 #134818
tetradic
#181348 #481329 #434813 #134832
square
#181348 #481329 #434813 #134832
split-complementary
#181348 #483213 #294813
monochromatic
#080618 #080618 #181348 #282078 #382DA9

Accessibility & contrast

On white

17.13
#181348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181348
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181348#FFFFFF#000000##FFFFFF
##1813481.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001947
Tritanopia (blue-blind)
#00212B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #181348;
/* rgb */ color: rgb(24, 19, 72);
/* oklch */ color: oklch(23.3% 0.095 280.4);
Tailwind
colors: {
  custom: {
    50: '#5c517c',
    500: '#181348',
    950: '#000000',
  },
}
SCSS
$custom: #181348;
$custom-light: #5c517c;
$custom-dark: #000000;
JSON
{
  "hex": "#181348",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 245.66,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23295,
    "c": 0.09459,
    "h": 280.4
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#181348
secondary
#7A8136
accent
#E146D3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040209
muted
#79787B

Preview Lab

Preview with #181348

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

Preview Lab → · Contrast checker → · Palette generator →

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