#182452#182452

#182452 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.085 H 269.2°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#182452
RGBrgb(24, 36, 82)
HSLhsl(228, 55%, 21%)
HSVhsv(228, 71%, 32%)
CMYKcmyk(70.7%, 56.1%, 0%, 67.8%)
CIE-LABlab(15.82, 12.12, -29.75)
CIE-LCHlch(15.82, 32.12, 292.16°)
OKLaboklab(27.88% -0.0012 -0.0853)
OKLCHoklch(27.88% 0.085 269.2)
XYZxyz(2.5300, 2.0649, 8.2462)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182452 #524618
analogous
#184152 #182452 #291852
triadic
#182452 #521824 #245218
tetradic
#182452 #521841 #524618 #185229
square
#182452 #521841 #524618 #185229
split-complementary
#182452 #522918 #415218
monochromatic
#070A18 #0A0F23 #182452 #263981 #344EB1

Accessibility & contrast

On white

14.86
#182452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#182452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182452
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182452#FFFFFF#000000##FFFFFF
##1824521.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A54
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#002F37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #182452;
/* rgb */ color: rgb(24, 36, 82);
/* oklch */ color: oklch(27.9% 0.085 269.2);
Tailwind
colors: {
  custom: {
    50: '#5c5e83',
    500: '#182452',
    950: '#000000',
  },
}
SCSS
$custom: #182452;
$custom-light: #5c5e83;
$custom-dark: #000000;
JSON
{
  "hex": "#182452",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 227.586,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27884,
    "c": 0.08534,
    "h": 269.2
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#182452
secondary
#89793D
accent
#BF4ADE
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #182452

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

Preview Lab → · Contrast checker → · Palette generator →

#182452 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva