#181A30#181A30

#181A30 is a very dark, muted blue. Relative luminance 0.011; OKLCH L 22.8% C 0.043 H 278.5°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#181A30
RGBrgb(24, 26, 48)
HSLhsl(235, 33%, 14%)
HSVhsv(235, 50%, 19%)
CMYKcmyk(50%, 45.8%, 0%, 81.2%)
CIE-LABlab(10.16, 6.20, -14.97)
CIE-LCHlch(10.16, 16.20, 292.50°)
OKLaboklab(22.78% 0.0063 -0.0421)
OKLCHoklch(22.78% 0.043 278.5)
XYZxyz(1.2794, 1.1463, 2.9496)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A30 #302E18
analogous
#182630 #181A30 #221830
triadic
#181A30 #30181A #1A3018
tetradic
#181A30 #301826 #302E18 #183022
square
#181A30 #301826 #302E18 #183022
split-complementary
#181A30 #302218 #263018
monochromatic
#0A0B14 #0A0B14 #181A30 #2C3059 #414682

Accessibility & contrast

On white

17.08
#181A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#181A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A30
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A30#FFFFFF#000000##FFFFFF
##181A301.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D31
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#111E22
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #181a30;
/* rgb */ color: rgb(24, 26, 48);
/* oklch */ color: oklch(22.8% 0.043 278.5);
Tailwind
colors: {
  custom: {
    50: '#565668',
    500: '#181a30',
    950: '#000000',
  },
}
SCSS
$custom: #181a30;
$custom-light: #565668;
$custom-dark: #000000;
JSON
{
  "hex": "#181a30",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 48
  },
  "hsl": {
    "h": 235,
    "s": 33.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.22781,
    "c": 0.04257,
    "h": 278.5
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#181A30
secondary
#65623F
accent
#C15EC9
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#030306
muted
#78787A

Preview Lab

Preview with #181A30

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

Preview Lab → · Contrast checker → · Palette generator →

#181A30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva