#181A3E#181A3E

#181A3E is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.8% C 0.068 H 277.6°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#181A3E
RGBrgb(24, 26, 62)
HSLhsl(237, 44%, 17%)
HSVhsv(237, 61%, 24%)
CMYKcmyk(61.3%, 58.1%, 0%, 75.7%)
CIE-LABlab(11.14, 11.57, -23.46)
CIE-LCHlch(11.14, 26.16, 296.25°)
OKLaboklab(23.85% 0.0089 -0.067)
OKLCHoklch(23.85% 0.068 277.6)
XYZxyz(1.6153, 1.2807, 4.7186)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A3E #3E3C18
analogous
#182D3E #181A3E #29183E
triadic
#181A3E #3E181A #1A3E18
tetradic
#181A3E #3E182D #3E3C18 #183E29
square
#181A3E #3E182D #3E3C18 #183E29
split-complementary
#181A3E #3E2918 #2D3E18
monochromatic
#090916 #090916 #181A3E #292D6A #3A3F96

Accessibility & contrast

On white

16.72
#181A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A3E
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A3E#FFFFFF#000000##FFFFFF
##181A3E1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3F
Deuteranopia (green-blind)
#041C3D
Tritanopia (blue-blind)
#072229
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181a3e;
/* rgb */ color: rgb(24, 26, 62);
/* oklch */ color: oklch(23.8% 0.068 277.6);
Tailwind
colors: {
  custom: {
    50: '#595673',
    500: '#181a3e',
    950: '#000000',
  },
}
SCSS
$custom: #181a3e;
$custom-light: #595673;
$custom-dark: #000000;
JSON
{
  "hex": "#181a3e",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 236.842,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23848,
    "c": 0.06755,
    "h": 277.6
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#181A3E
secondary
#74723D
accent
#CD54D4
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040308
muted
#79787B

Preview Lab

Preview with #181A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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