#182D5A#182D5A

#182D5A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.085 H 263.4°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#182D5A
RGBrgb(24, 45, 90)
HSLhsl(221, 58%, 22%)
HSVhsv(221, 73%, 35%)
CMYKcmyk(73.3%, 50%, 0%, 64.7%)
CIE-LABlab(19.26, 8.79, -29.58)
CIE-LCHlch(19.26, 30.86, 286.54°)
OKLaboklab(30.7% -0.0098 -0.0847)
OKLCHoklch(30.7% 0.085 263.4)
XYZxyz(3.1599, 2.8088, 10.0465)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D5A #5A4518
analogous
#184E5A #182D5A #24185A
triadic
#182D5A #5A182D #2D5A18
tetradic
#182D5A #5A184E #5A4518 #185A24
square
#182D5A #5A184E #5A4518 #185A24
split-complementary
#182D5A #5A2418 #4E5A18
monochromatic
#060C18 #0B152A #182D5A #25458A #325DBB

Accessibility & contrast

On white

13.45
#182D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D5A
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D5A#FFFFFF#000000##FFFFFF
##182D5A1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325C
Deuteranopia (green-blind)
#092C59
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d5a;
/* rgb */ color: rgb(24, 45, 90);
/* oklch */ color: oklch(30.7% 0.085 263.4);
Tailwind
colors: {
  custom: {
    50: '#5e6589',
    500: '#182d5a',
    950: '#000000',
  },
}
SCSS
$custom: #182d5a;
$custom-light: #5e6589;
$custom-dark: #000000;
JSON
{
  "hex": "#182d5a",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 220.909,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30695,
    "c": 0.08524,
    "h": 263.4
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#182D5A
secondary
#91763D
accent
#B047E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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