#182D5D#182D5D

#182D5D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.9% C 0.090 H 264.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#182D5D
RGBrgb(24, 45, 93)
HSLhsl(222, 59%, 23%)
HSVhsv(222, 74%, 36%)
CMYKcmyk(74.2%, 51.6%, 0%, 63.5%)
CIE-LABlab(19.48, 10.03, -31.22)
CIE-LCHlch(19.48, 32.79, 287.81°)
OKLaboklab(30.93% -0.0093 -0.0895)
OKLCHoklch(30.93% 0.09 264.1)
XYZxyz(3.2902, 2.8609, 10.7326)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D5D #5D4818
analogous
#184F5D #182D5D #25185D
triadic
#182D5D #5D182D #2D5D18
tetradic
#182D5D #5D184F #5D4818 #185D25
square
#182D5D #5D184F #5D4818 #185D25
split-complementary
#182D5D #5D2518 #4F5D18
monochromatic
#060C18 #0B152C #182D5D #25458E #315CBE

Accessibility & contrast

On white

13.36
#182D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D5D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D5D#FFFFFF#000000##FFFFFF
##182D5D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13335F
Deuteranopia (green-blind)
#032C5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182d5d;
/* rgb */ color: rgb(24, 45, 93);
/* oklch */ color: oklch(30.9% 0.090 264.1);
Tailwind
colors: {
  custom: {
    50: '#5f658b',
    500: '#182d5d',
    950: '#000000',
  },
}
SCSS
$custom: #182d5d;
$custom-light: #5f658b;
$custom-dark: #000000;
JSON
{
  "hex": "#182d5d",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 221.739,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3093,
    "c": 0.08998,
    "h": 264.1
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#182D5D
secondary
#93793D
accent
#B346E2
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #182D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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