#182D52#182D52

#182D52 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.072 H 260.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#182D52
RGBrgb(24, 45, 82)
HSLhsl(218, 55%, 21%)
HSVhsv(218, 71%, 32%)
CMYKcmyk(70.7%, 45.1%, 0%, 67.8%)
CIE-LABlab(18.71, 5.48, -25.12)
CIE-LCHlch(18.71, 25.71, 282.31°)
OKLaboklab(30.1% -0.0115 -0.0716)
OKLCHoklch(30.1% 0.072 260.9)
XYZxyz(2.8375, 2.6799, 8.3487)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D52 #523D18
analogous
#184A52 #182D52 #201852
triadic
#182D52 #52182D #2D5218
tetradic
#182D52 #52184A #523D18 #185220
square
#182D52 #52184A #523D18 #185220
split-complementary
#182D52 #522018 #4A5218
monochromatic
#070D18 #0A1323 #182D52 #264781 #3461B1

Accessibility & contrast

On white

13.67
#182D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D52
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D52#FFFFFF#000000##FFFFFF
##182D521.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3053
Deuteranopia (green-blind)
#132B51
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182d52;
/* rgb */ color: rgb(24, 45, 82);
/* oklch */ color: oklch(30.1% 0.072 260.9);
Tailwind
colors: {
  custom: {
    50: '#5c6583',
    500: '#182d52',
    950: '#000000',
  },
}
SCSS
$custom: #182d52;
$custom-light: #5c6583;
$custom-dark: #000000;
JSON
{
  "hex": "#182d52",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 218.276,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30096,
    "c": 0.07248,
    "h": 260.9
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#182D52
secondary
#896D3D
accent
#A84ADE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182D52

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

Preview Lab → · Contrast checker → · Palette generator →

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