#182A74#182A74

#182A74 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.129 H 267.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#182A74
RGBrgb(24, 42, 116)
HSLhsl(228, 66%, 27%)
HSVhsv(228, 79%, 45%)
CMYKcmyk(79.3%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.48, 21.68, -44.56)
CIE-LCHlch(20.48, 49.56, 295.95°)
OKLaboklab(32.28% -0.005 -0.1288)
OKLCHoklch(32.28% 0.129 267.8)
XYZxyz(4.3559, 3.1106, 16.8904)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A74 #746218
analogous
#185874 #182A74 #341874
triadic
#182A74 #74182A #2A7418
tetradic
#182A74 #741858 #746218 #187434
square
#182A74 #741858 #746218 #187434
split-complementary
#182A74 #743418 #587418
monochromatic
#050919 #0E1841 #182A74 #223CA7 #3252D5

Accessibility & contrast

On white

12.95
#182A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A74
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A74#FFFFFF#000000##FFFFFF
##182A741.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182a74;
/* rgb */ color: rgb(24, 42, 116);
/* oklch */ color: oklch(32.3% 0.129 267.8);
Tailwind
colors: {
  custom: {
    50: '#65639d',
    500: '#182a74',
    950: '#000000',
  },
}
SCSS
$custom: #182a74;
$custom-light: #65639d;
$custom-dark: #000000;
JSON
{
  "hex": "#182a74",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 228.261,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32282,
    "c": 0.12888,
    "h": 267.8
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#182A74
secondary
#A9943F
accent
#C73FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182A74

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

Preview Lab → · Contrast checker → · Palette generator →

#182A74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva