#181452#181452

#181452 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.5% C 0.108 H 277.7°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#181452
RGBrgb(24, 20, 82)
HSLhsl(244, 61%, 20%)
HSVhsv(244, 76%, 32%)
CMYKcmyk(70.7%, 75.6%, 0%, 67.8%)
CIE-LABlab(11.30, 23.72, -37.11)
CIE-LCHlch(11.30, 44.04, 302.58°)
OKLaboklab(24.54% 0.0145 -0.1071)
OKLCHoklch(24.54% 0.108 277.7)
XYZxyz(2.1493, 1.3035, 8.1193)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181452 #4E5214
analogous
#142F52 #181452 #371452
triadic
#181452 #521814 #145218
tetradic
#181452 #52142F #4E5214 #145237
square
#181452 #52142F #4E5214 #145237
split-complementary
#181452 #523714 #2F5214
monochromatic
#070619 #0A0821 #181452 #262083 #352CB4

Accessibility & contrast

On white

16.66
#181452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#181452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181452
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181452#FFFFFF#000000##FFFFFF
##1814521.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002531
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #181452;
/* rgb */ color: rgb(24, 20, 82);
/* oklch */ color: oklch(24.5% 0.108 277.7);
Tailwind
colors: {
  custom: {
    50: '#5e5283',
    500: '#181452',
    950: '#000000',
  },
}
SCSS
$custom: #181452;
$custom-light: #5e5283;
$custom-dark: #000000;
JSON
{
  "hex": "#181452",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 243.871,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.2454,
    "c": 0.10809,
    "h": 277.7
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#181452
secondary
#858A38
accent
#E444DA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #181452

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

Preview Lab → · Contrast checker → · Palette generator →

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