#182A5C#182A5C

#182A5C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.1% C 0.093 H 266.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#182A5C
RGBrgb(24, 42, 92)
HSLhsl(224, 59%, 23%)
HSVhsv(224, 74%, 36%)
CMYKcmyk(73.9%, 54.3%, 0%, 63.9%)
CIE-LABlab(18.46, 11.81, -32.19)
CIE-LCHlch(18.46, 34.29, 290.15°)
OKLaboklab(30.13% -0.0063 -0.0924)
OKLCHoklch(30.13% 0.093 266.1)
XYZxyz(3.1357, 2.6225, 10.4641)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A5C #5C4A18
analogous
#184C5C #182A5C #28185C
triadic
#182A5C #5C182A #2A5C18
tetradic
#182A5C #5C184C #5C4A18 #185C28
square
#182A5C #5C184C #5C4A18 #185C28
split-complementary
#182A5C #5C2818 #4C5C18
monochromatic
#060B18 #0B142B #182A5C #25408D #3156BD

Accessibility & contrast

On white

13.77
#182A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A5C
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A5C#FFFFFF#000000##FFFFFF
##182A5C1.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182a5c;
/* rgb */ color: rgb(24, 42, 92);
/* oklch */ color: oklch(30.1% 0.093 266.1);
Tailwind
colors: {
  custom: {
    50: '#5e638a',
    500: '#182a5c',
    950: '#000000',
  },
}
SCSS
$custom: #182a5c;
$custom-light: #5e638a;
$custom-dark: #000000;
JSON
{
  "hex": "#182a5c",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 92
  },
  "hsl": {
    "h": 224.118,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.09263,
    "h": 266.1
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#182A5C
secondary
#937C3D
accent
#B946E2
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #182A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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