#182D5C#182D5C

#182D5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.088 H 263.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#182D5C
RGBrgb(24, 45, 92)
HSLhsl(221, 59%, 23%)
HSVhsv(221, 74%, 36%)
CMYKcmyk(73.9%, 51.1%, 0%, 63.9%)
CIE-LABlab(19.41, 9.62, -30.67)
CIE-LCHlch(19.41, 32.15, 287.41°)
OKLaboklab(30.85% -0.0094 -0.0879)
OKLCHoklch(30.85% 0.088 263.9)
XYZxyz(3.2462, 2.8433, 10.5009)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D5C #5C4718
analogous
#184F5C #182D5C #25185C
triadic
#182D5C #5C182D #2D5C18
tetradic
#182D5C #5C184F #5C4718 #185C25
square
#182D5C #5C184F #5C4718 #185C25
split-complementary
#182D5C #5C2518 #4F5C18
monochromatic
#060C18 #0B152B #182D5C #25458D #315CBD

Accessibility & contrast

On white

13.39
#182D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D5C
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D5C#FFFFFF#000000##FFFFFF
##182D5C1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325E
Deuteranopia (green-blind)
#052C5B
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d5c;
/* rgb */ color: rgb(24, 45, 92);
/* oklch */ color: oklch(30.9% 0.088 263.9);
Tailwind
colors: {
  custom: {
    50: '#5e658a',
    500: '#182d5c',
    950: '#000000',
  },
}
SCSS
$custom: #182d5c;
$custom-light: #5e658a;
$custom-dark: #000000;
JSON
{
  "hex": "#182d5c",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 221.471,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30851,
    "c": 0.08841,
    "h": 263.9
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#182D5C
secondary
#93783D
accent
#B246E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182D5C

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

Preview Lab → · Contrast checker → · Palette generator →

#182D5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva