#182A5A#182A5A

#182A5A is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.089 H 265.8°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#182A5A
RGBrgb(24, 42, 90)
HSLhsl(224, 58%, 22%)
HSVhsv(224, 73%, 35%)
CMYKcmyk(73.3%, 53.3%, 0%, 64.7%)
CIE-LABlab(18.31, 10.98, -31.11)
CIE-LCHlch(18.31, 32.99, 289.45°)
OKLaboklab(29.97% -0.0066 -0.0892)
OKLCHoklch(29.97% 0.089 265.8)
XYZxyz(3.0495, 2.5880, 10.0097)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A5A #5A4818
analogous
#184B5A #182A5A #27185A
triadic
#182A5A #5A182A #2A5A18
tetradic
#182A5A #5A184B #5A4818 #185A27
square
#182A5A #5A184B #5A4818 #185A27
split-complementary
#182A5A #5A2718 #4B5A18
monochromatic
#060B18 #0B132A #182A5A #25418A #3257BB

Accessibility & contrast

On white

13.84
#182A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A5A
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A5A#FFFFFF#000000##FFFFFF
##182A5A1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305C
Deuteranopia (green-blind)
#002A59
Tritanopia (blue-blind)
#00353D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182a5a;
/* rgb */ color: rgb(24, 42, 90);
/* oklch */ color: oklch(30.0% 0.089 265.8);
Tailwind
colors: {
  custom: {
    50: '#5e6389',
    500: '#182a5a',
    950: '#000000',
  },
}
SCSS
$custom: #182a5a;
$custom-light: #5e6389;
$custom-dark: #000000;
JSON
{
  "hex": "#182a5a",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 90
  },
  "hsl": {
    "h": 223.636,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29969,
    "c": 0.08947,
    "h": 265.8
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#182A5A
secondary
#917A3D
accent
#B747E1
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #182A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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