#182472#182472

#182472 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.134 H 269.6°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#182472
RGBrgb(24, 36, 114)
HSLhsl(232, 65%, 27%)
HSVhsv(232, 79%, 45%)
CMYKcmyk(78.9%, 68.4%, 0%, 55.3%)
CIE-LABlab(18.67, 25.10, -46.24)
CIE-LCHlch(18.67, 52.61, 298.50°)
OKLaboklab(30.89% -0.0008 -0.1337)
OKLCHoklch(30.89% 0.134 269.6)
XYZxyz(4.0438, 2.6704, 16.2186)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182472 #726618
analogous
#185172 #182472 #391872
triadic
#182472 #721824 #247218
tetradic
#182472 #721851 #726618 #187239
square
#182472 #721851 #726618 #187239
split-complementary
#182472 #723918 #517218
monochromatic
#050819 #0D143F #182472 #2334A5 #3147D4

Accessibility & contrast

On white

13.69
#182472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182472
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182472#FFFFFF#000000##FFFFFF
##1824721.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182472;
/* rgb */ color: rgb(24, 36, 114);
/* oklch */ color: oklch(30.9% 0.134 269.6);
Tailwind
colors: {
  custom: {
    50: '#655e9b',
    500: '#182472',
    950: '#000000',
  },
}
SCSS
$custom: #182472;
$custom-light: #655e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182472",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 232,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3089,
    "c": 0.13375,
    "h": 269.6
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#182472
secondary
#A7993E
accent
#D240E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182472

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

Preview Lab → · Contrast checker → · Palette generator →

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