#182D5B#182D5B

#182D5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.087 H 263.6°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#182D5B
RGBrgb(24, 45, 91)
HSLhsl(221, 58%, 23%)
HSVhsv(221, 74%, 36%)
CMYKcmyk(73.6%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.33, 9.20, -30.13)
CIE-LCHlch(19.33, 31.50, 286.98°)
OKLaboklab(30.77% -0.0096 -0.0863)
OKLCHoklch(30.77% 0.087 263.6)
XYZxyz(3.2027, 2.8260, 10.2722)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D5B #5B4618
analogous
#184F5B #182D5B #24185B
triadic
#182D5B #5B182D #2D5B18
tetradic
#182D5B #5B184F #5B4618 #185B24
square
#182D5B #5B184F #5B4618 #185B24
split-complementary
#182D5B #5B2418 #4F5B18
monochromatic
#060C18 #0B152B #182D5B #25458B #325DBC

Accessibility & contrast

On white

13.42
#182D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D5B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D5B#FFFFFF#000000##FFFFFF
##182D5B1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325D
Deuteranopia (green-blind)
#072C5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d5b;
/* rgb */ color: rgb(24, 45, 91);
/* oklch */ color: oklch(30.8% 0.087 263.6);
Tailwind
colors: {
  custom: {
    50: '#5e658a',
    500: '#182d5b',
    950: '#000000',
  },
}
SCSS
$custom: #182d5b;
$custom-light: #5e658a;
$custom-dark: #000000;
JSON
{
  "hex": "#182d5b",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 221.194,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30773,
    "c": 0.08682,
    "h": 263.6
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#182D5B
secondary
#92773D
accent
#B146E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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