#182A5D#182A5D

#182A5D is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.094 H 266.2°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#182A5D
RGBrgb(24, 42, 93)
HSLhsl(224, 59%, 23%)
HSVhsv(224, 74%, 36%)
CMYKcmyk(74.2%, 54.8%, 0%, 63.5%)
CIE-LABlab(18.54, 12.23, -32.73)
CIE-LCHlch(18.54, 34.94, 290.48°)
OKLaboklab(30.22% -0.0062 -0.094)
OKLCHoklch(30.22% 0.094 266.2)
XYZxyz(3.1797, 2.6401, 10.6958)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A5D #5D4B18
analogous
#184C5D #182A5D #28185D
triadic
#182A5D #5D182A #2A5D18
tetradic
#182A5D #5D184C #5D4B18 #185D28
square
#182A5D #5D184C #5D4B18 #185D28
split-complementary
#182A5D #5D2818 #4C5D18
monochromatic
#060B18 #0B142C #182A5D #25408E #3156BE

Accessibility & contrast

On white

13.74
#182A5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182A5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A5D
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A5D#FFFFFF#000000##FFFFFF
##182A5D1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182a5d;
/* rgb */ color: rgb(24, 42, 93);
/* oklch */ color: oklch(30.2% 0.094 266.2);
Tailwind
colors: {
  custom: {
    50: '#5f638b',
    500: '#182a5d',
    950: '#000000',
  },
}
SCSS
$custom: #182a5d;
$custom-light: #5f638b;
$custom-dark: #000000;
JSON
{
  "hex": "#182a5d",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 224.348,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30216,
    "c": 0.0942,
    "h": 266.2
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #182A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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