#182D54#182D54

#182D54 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.076 H 261.6°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#182D54
RGBrgb(24, 45, 84)
HSLhsl(219, 56%, 21%)
HSVhsv(219, 71%, 33%)
CMYKcmyk(71.4%, 46.4%, 0%, 67.1%)
CIE-LABlab(18.85, 6.30, -26.24)
CIE-LCHlch(18.85, 26.99, 283.50°)
OKLaboklab(30.24% -0.011 -0.0749)
OKLCHoklch(30.24% 0.076 261.6)
XYZxyz(2.9147, 2.7108, 8.7554)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D54 #543F18
analogous
#184B54 #182D54 #211854
triadic
#182D54 #54182D #2D5418
tetradic
#182D54 #54184B #543F18 #185421
square
#182D54 #54184B #543F18 #185421
split-complementary
#182D54 #542118 #4B5418
monochromatic
#070D18 #0A1324 #182D54 #264684 #3360B3

Accessibility & contrast

On white

13.62
#182D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D54
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D54#FFFFFF#000000##FFFFFF
##182D541.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3156
Deuteranopia (green-blind)
#112B53
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182d54;
/* rgb */ color: rgb(24, 45, 84);
/* oklch */ color: oklch(30.2% 0.076 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c6584',
    500: '#182d54',
    950: '#000000',
  },
}
SCSS
$custom: #182d54;
$custom-light: #5c6584;
$custom-dark: #000000;
JSON
{
  "hex": "#182d54",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 219,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30241,
    "c": 0.07568,
    "h": 261.6
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#182D54
secondary
#8B703D
accent
#AA49DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #182D54

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

Preview Lab → · Contrast checker → · Palette generator →

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