#182A73#182A73

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

Color values

HEX#182A73
RGBrgb(24, 42, 115)
HSLhsl(228, 65%, 27%)
HSVhsv(228, 79%, 45%)
CMYKcmyk(79.1%, 63.5%, 0%, 54.9%)
CIE-LABlab(20.39, 21.28, -44.07)
CIE-LCHlch(20.39, 48.94, 295.77°)
OKLaboklab(32.19% -0.005 -0.1273)
OKLCHoklch(32.19% 0.127 267.8)
XYZxyz(4.2981, 3.0875, 16.5857)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A73 #736118
analogous
#185873 #182A73 #341873
triadic
#182A73 #73182A #2A7318
tetradic
#182A73 #731858 #736118 #187334
square
#182A73 #731858 #736118 #187334
split-complementary
#182A73 #733418 #587318
monochromatic
#050919 #0D1840 #182A73 #233CA6 #3152D4

Accessibility & contrast

On white

12.98
#182A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A73
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A73#FFFFFF#000000##FFFFFF
##182A731.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182a73;
/* rgb */ color: rgb(24, 42, 115);
/* oklch */ color: oklch(32.2% 0.127 267.8);
Tailwind
colors: {
  custom: {
    50: '#65639c',
    500: '#182a73',
    950: '#000000',
  },
}
SCSS
$custom: #182a73;
$custom-light: #65639c;
$custom-dark: #000000;
JSON
{
  "hex": "#182a73",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 228.132,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32187,
    "c": 0.12744,
    "h": 267.8
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#182A73
secondary
#A8933F
accent
#C73FE8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #182A73

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

Preview Lab → · Contrast checker → · Palette generator →

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