#182571#182571

#182571 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.131 H 269.4°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#182571
RGBrgb(24, 37, 113)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 44%)
CMYKcmyk(78.8%, 67.3%, 0%, 55.7%)
CIE-LABlab(18.84, 24.01, -45.32)
CIE-LCHlch(18.84, 51.29, 297.91°)
OKLaboklab(30.98% -0.0014 -0.131)
OKLCHoklch(30.98% 0.131 269.4)
XYZxyz(4.0179, 2.7091, 15.9307)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182571 #716418
analogous
#185271 #182571 #381871
triadic
#182571 #711825 #257118
tetradic
#182571 #711852 #716418 #187138
square
#182571 #711852 #716418 #187138
split-complementary
#182571 #713818 #527118
monochromatic
#050819 #0D143F #182571 #2336A3 #3048D3

Accessibility & contrast

On white

13.62
#182571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182571
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182571#FFFFFF#000000##FFFFFF
##1825711.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003273
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182571;
/* rgb */ color: rgb(24, 37, 113);
/* oklch */ color: oklch(31.0% 0.131 269.4);
Tailwind
colors: {
  custom: {
    50: '#655f9b',
    500: '#182571',
    950: '#000000',
  },
}
SCSS
$custom: #182571;
$custom-light: #655f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#182571",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 113
  },
  "hsl": {
    "h": 231.236,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30983,
    "c": 0.13106,
    "h": 269.4
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#182571
secondary
#A6973E
accent
#CF40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182571

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

Preview Lab → · Contrast checker → · Palette generator →

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