#182B52#182B52

#182B52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.075 H 263.0°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#182B52
RGBrgb(24, 43, 82)
HSLhsl(220, 55%, 21%)
HSVhsv(220, 71%, 32%)
CMYKcmyk(70.7%, 47.6%, 0%, 67.8%)
CIE-LABlab(18.06, 6.94, -26.16)
CIE-LCHlch(18.06, 27.07, 284.85°)
OKLaboklab(29.59% -0.0091 -0.0747)
OKLCHoklch(29.59% 0.075 263)
XYZxyz(2.7630, 2.5309, 8.3239)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B52 #523F18
analogous
#184852 #182B52 #221852
triadic
#182B52 #52182B #2B5218
tetradic
#182B52 #521848 #523F18 #185222
square
#182B52 #521848 #523F18 #185222
split-complementary
#182B52 #522218 #485218
monochromatic
#070C18 #0A1223 #182B52 #264481 #345DB1

Accessibility & contrast

On white

13.94
#182B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B52
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B52#FFFFFF#000000##FFFFFF
##182B521.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F53
Deuteranopia (green-blind)
#0F2A51
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182b52;
/* rgb */ color: rgb(24, 43, 82);
/* oklch */ color: oklch(29.6% 0.075 263.0);
Tailwind
colors: {
  custom: {
    50: '#5c6383',
    500: '#182b52',
    950: '#000000',
  },
}
SCSS
$custom: #182b52;
$custom-light: #5c6383;
$custom-dark: #000000;
JSON
{
  "hex": "#182b52",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 220.345,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.2959,
    "c": 0.07522,
    "h": 263
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#182B52
secondary
#89703D
accent
#AD4ADE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #182B52

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

Preview Lab → · Contrast checker → · Palette generator →

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