#182372#182372

#182372 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.135 H 269.9°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#182372
RGBrgb(24, 35, 114)
HSLhsl(233, 65%, 27%)
HSVhsv(233, 79%, 45%)
CMYKcmyk(78.9%, 69.3%, 0%, 55.3%)
CIE-LABlab(18.41, 25.79, -46.67)
CIE-LCHlch(18.41, 53.32, 298.93°)
OKLaboklab(30.7% -0.0002 -0.135)
OKLCHoklch(30.7% 0.135 269.9)
XYZxyz(4.0139, 2.6107, 16.2087)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182372 #726718
analogous
#185072 #182372 #3A1872
triadic
#182372 #721823 #237218
tetradic
#182372 #721850 #726718 #18723A
square
#182372 #721850 #726718 #18723A
split-complementary
#182372 #723A18 #507218
monochromatic
#050819 #0D133F #182372 #2333A5 #3145D4

Accessibility & contrast

On white

13.80
#182372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182372
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182372#FFFFFF#000000##FFFFFF
##1823721.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182372;
/* rgb */ color: rgb(24, 35, 114);
/* oklch */ color: oklch(30.7% 0.135 269.9);
Tailwind
colors: {
  custom: {
    50: '#655e9b',
    500: '#182372',
    950: '#000000',
  },
}
SCSS
$custom: #182372;
$custom-light: #655e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182372",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 114
  },
  "hsl": {
    "h": 232.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.307,
    "c": 0.13501,
    "h": 269.9
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#182372
secondary
#A79B3E
accent
#D440E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182372

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

Preview Lab → · Contrast checker → · Palette generator →

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