#182573#182573

#182573 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.134 H 269.3°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#182573
RGBrgb(24, 37, 115)
HSLhsl(231, 65%, 27%)
HSVhsv(231, 79%, 45%)
CMYKcmyk(79.1%, 67.8%, 0%, 54.9%)
CIE-LABlab(19.03, 24.80, -46.29)
CIE-LCHlch(19.03, 52.52, 298.18°)
OKLaboklab(31.19% -0.0015 -0.1339)
OKLCHoklch(31.19% 0.134 269.3)
XYZxyz(4.1317, 2.7547, 16.5303)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182573 #736618
analogous
#185273 #182573 #391873
triadic
#182573 #731825 #257318
tetradic
#182573 #731852 #736618 #187339
square
#182573 #731852 #736618 #187339
split-complementary
#182573 #733918 #527318
monochromatic
#050819 #0D1540 #182573 #2335A6 #3149D4

Accessibility & contrast

On white

13.54
#182573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182573
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182573#FFFFFF#000000##FFFFFF
##1825731.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182573;
/* rgb */ color: rgb(24, 37, 115);
/* oklch */ color: oklch(31.2% 0.134 269.3);
Tailwind
colors: {
  custom: {
    50: '#655f9c',
    500: '#182573',
    950: '#000000',
  },
}
SCSS
$custom: #182573;
$custom-light: #655f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#182573",
  "rgb": {
    "r": 24,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 231.429,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31185,
    "c": 0.13391,
    "h": 269.3
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#182573
secondary
#A8993F
accent
#D03FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #182573

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

Preview Lab → · Contrast checker → · Palette generator →

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