#182471#182471

#182471 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.132 H 269.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#182471
RGBrgb(24, 36, 113)
HSLhsl(232, 65%, 27%)
HSVhsv(232, 79%, 44%)
CMYKcmyk(78.8%, 68.1%, 0%, 55.7%)
CIE-LABlab(18.57, 24.70, -45.75)
CIE-LCHlch(18.57, 52.00, 298.37°)
OKLaboklab(30.79% -0.0008 -0.1323)
OKLCHoklch(30.79% 0.132 269.7)
XYZxyz(3.9872, 2.6478, 15.9205)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182471 #716518
analogous
#185171 #182471 #391871
triadic
#182471 #711824 #247118
tetradic
#182471 #711851 #716518 #187139
square
#182471 #711851 #716518 #187139
split-complementary
#182471 #713918 #517118
monochromatic
#050819 #0D143F #182471 #2334A3 #3046D3

Accessibility & contrast

On white

13.73
#182471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182471
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182471#FFFFFF#000000##FFFFFF
##1824711.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182471;
/* rgb */ color: rgb(24, 36, 113);
/* oklch */ color: oklch(30.8% 0.132 269.7);
Tailwind
colors: {
  custom: {
    50: '#655e9b',
    500: '#182471',
    950: '#000000',
  },
}
SCSS
$custom: #182471;
$custom-light: #655e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182471",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 231.91,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.13233,
    "h": 269.7
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#182471
secondary
#A6983E
accent
#D140E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182471

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

Preview Lab → · Contrast checker → · Palette generator →

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