#182D73#182D73

#182D73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.123 H 266.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#182D73
RGBrgb(24, 45, 115)
HSLhsl(226, 65%, 27%)
HSVhsv(226, 79%, 45%)
CMYKcmyk(79.1%, 60.9%, 0%, 54.9%)
CIE-LABlab(21.24, 19.14, -42.69)
CIE-LCHlch(21.24, 46.78, 294.15°)
OKLaboklab(32.82% -0.0072 -0.1232)
OKLCHoklch(32.82% 0.123 266.7)
XYZxyz(4.4085, 3.3083, 16.6226)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D73 #735E18
analogous
#185B73 #182D73 #311873
triadic
#182D73 #73182D #2D7318
tetradic
#182D73 #73185B #735E18 #187331
square
#182D73 #73185B #735E18 #187331
split-complementary
#182D73 #733118 #5B7318
monochromatic
#050A19 #0D1940 #182D73 #2341A6 #3157D4

Accessibility & contrast

On white

12.64
#182D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#182D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D73
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D73#FFFFFF#000000##FFFFFF
##182D731.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182d73;
/* rgb */ color: rgb(24, 45, 115);
/* oklch */ color: oklch(32.8% 0.123 266.7);
Tailwind
colors: {
  custom: {
    50: '#64659c',
    500: '#182d73',
    950: '#000000',
  },
}
SCSS
$custom: #182d73;
$custom-light: #64659c;
$custom-dark: #000000;
JSON
{
  "hex": "#182d73",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 226.154,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32819,
    "c": 0.12344,
    "h": 266.7
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#182D73
secondary
#A8903F
accent
#C13FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #182D73

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

Preview Lab → · Contrast checker → · Palette generator →

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