#182474#182474

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

Color values

HEX#182474
RGBrgb(24, 36, 116)
HSLhsl(232, 66%, 27%)
HSVhsv(232, 79%, 45%)
CMYKcmyk(79.3%, 69%, 0%, 54.5%)
CIE-LABlab(18.87, 25.89, -47.20)
CIE-LCHlch(18.87, 53.83, 298.74°)
OKLaboklab(31.1% -0.001 -0.1366)
OKLCHoklch(31.1% 0.137 269.6)
XYZxyz(4.1589, 2.7164, 16.8248)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182474 #746818
analogous
#185274 #182474 #3A1874
triadic
#182474 #741824 #247418
tetradic
#182474 #741852 #746818 #18743A
square
#182474 #741852 #746818 #18743A
split-complementary
#182474 #743A18 #527418
monochromatic
#050819 #0E1441 #182474 #2234A7 #3247D5

Accessibility & contrast

On white

13.61
#182474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182474
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182474#FFFFFF#000000##FFFFFF
##1824741.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182474;
/* rgb */ color: rgb(24, 36, 116);
/* oklch */ color: oklch(31.1% 0.137 269.6);
Tailwind
colors: {
  custom: {
    50: '#655e9d',
    500: '#182474',
    950: '#000000',
  },
}
SCSS
$custom: #182474;
$custom-light: #655e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#182474",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 232.174,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.13657,
    "h": 269.6
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#182474
secondary
#A99B3F
accent
#D33FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182474

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

Preview Lab → · Contrast checker → · Palette generator →

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