#182C52#182C52

#182C52 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.074 H 262.0°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#182C52
RGBrgb(24, 44, 82)
HSLhsl(219, 55%, 21%)
HSVhsv(219, 71%, 32%)
CMYKcmyk(70.7%, 46.3%, 0%, 67.8%)
CIE-LABlab(18.38, 6.21, -25.64)
CIE-LCHlch(18.38, 26.38, 283.61°)
OKLaboklab(29.84% -0.0103 -0.0731)
OKLCHoklch(29.84% 0.074 262)
XYZxyz(2.7998, 2.6045, 8.3362)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C52 #523E18
analogous
#184952 #182C52 #211852
triadic
#182C52 #52182C #2C5218
tetradic
#182C52 #521849 #523E18 #185221
square
#182C52 #521849 #523E18 #185221
split-complementary
#182C52 #522118 #495218
monochromatic
#070D18 #0A1323 #182C52 #264581 #345FB1

Accessibility & contrast

On white

13.81
#182C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C52
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C52#FFFFFF#000000##FFFFFF
##182C521.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3053
Deuteranopia (green-blind)
#112A51
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182c52;
/* rgb */ color: rgb(24, 44, 82);
/* oklch */ color: oklch(29.8% 0.074 262.0);
Tailwind
colors: {
  custom: {
    50: '#5c6483',
    500: '#182c52',
    950: '#000000',
  },
}
SCSS
$custom: #182c52;
$custom-light: #5c6483;
$custom-dark: #000000;
JSON
{
  "hex": "#182c52",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 82
  },
  "hsl": {
    "h": 219.31,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29842,
    "c": 0.07384,
    "h": 262
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#182C52
secondary
#896F3D
accent
#AB4ADE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #182C52

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

Preview Lab → · Contrast checker → · Palette generator →

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