#182F73#182F73

#182F73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.121 H 265.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#182F73
RGBrgb(24, 47, 115)
HSLhsl(225, 65%, 27%)
HSVhsv(225, 79%, 45%)
CMYKcmyk(79.1%, 59.1%, 0%, 54.9%)
CIE-LABlab(21.82, 17.70, -41.75)
CIE-LCHlch(21.82, 45.35, 292.98°)
OKLaboklab(33.25% -0.0088 -0.1204)
OKLCHoklch(33.25% 0.121 265.8)
XYZxyz(4.4866, 3.4645, 16.6486)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F73 #735C18
analogous
#185D73 #182F73 #2E1873
triadic
#182F73 #73182F #2F7318
tetradic
#182F73 #73185D #735C18 #18732E
square
#182F73 #73185D #735C18 #18732E
split-complementary
#182F73 #732E18 #5D7318
monochromatic
#050A19 #0D1A40 #182F73 #2344A6 #315AD4

Accessibility & contrast

On white

12.40
#182F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#182F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F73
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F73#FFFFFF#000000##FFFFFF
##182F731.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182f73;
/* rgb */ color: rgb(24, 47, 115);
/* oklch */ color: oklch(33.3% 0.121 265.8);
Tailwind
colors: {
  custom: {
    50: '#64679c',
    500: '#182f73',
    950: '#000000',
  },
}
SCSS
$custom: #182f73;
$custom-light: #64679c;
$custom-dark: #000000;
JSON
{
  "hex": "#182f73",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 224.835,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.12076,
    "h": 265.8
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#182F73
secondary
#A88E3F
accent
#BE3FE8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #182F73

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

Preview Lab → · Contrast checker → · Palette generator →

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