#182E52#182E52

#182E52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.4% C 0.071 H 259.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#182E52
RGBrgb(24, 46, 82)
HSLhsl(217, 55%, 21%)
HSVhsv(217, 71%, 32%)
CMYKcmyk(70.7%, 43.9%, 0%, 67.8%)
CIE-LABlab(19.04, 4.76, -24.59)
CIE-LCHlch(19.04, 25.05, 280.95°)
OKLaboklab(30.35% -0.0126 -0.07)
OKLCHoklch(30.35% 0.071 259.8)
XYZxyz(2.8761, 2.7571, 8.3616)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E52 #523C18
analogous
#184B52 #182E52 #1F1852
triadic
#182E52 #52182E #2E5218
tetradic
#182E52 #52184B #523C18 #18521F
square
#182E52 #52184B #523C18 #18521F
split-complementary
#182E52 #521F18 #4B5218
monochromatic
#070D18 #0A1323 #182E52 #264981 #3463B1

Accessibility & contrast

On white

13.54
#182E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E52
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E52#FFFFFF#000000##FFFFFF
##182E521.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3153
Deuteranopia (green-blind)
#152C51
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182e52;
/* rgb */ color: rgb(24, 46, 82);
/* oklch */ color: oklch(30.4% 0.071 259.8);
Tailwind
colors: {
  custom: {
    50: '#5c6683',
    500: '#182e52',
    950: '#000000',
  },
}
SCSS
$custom: #182e52;
$custom-light: #5c6683;
$custom-dark: #000000;
JSON
{
  "hex": "#182e52",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 217.241,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30351,
    "c": 0.07114,
    "h": 259.8
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#182E52
secondary
#896C3D
accent
#A64ADE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182E52

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

Preview Lab → · Contrast checker → · Palette generator →

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