#182F5A#182F5A

#182F5A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.082 H 261.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#182F5A
RGBrgb(24, 47, 90)
HSLhsl(219, 58%, 22%)
HSVhsv(219, 73%, 35%)
CMYKcmyk(73.3%, 47.8%, 0%, 64.7%)
CIE-LABlab(19.90, 7.33, -28.55)
CIE-LCHlch(19.90, 29.48, 284.40°)
OKLaboklab(31.19% -0.0119 -0.0816)
OKLCHoklch(31.19% 0.082 261.7)
XYZxyz(3.2380, 2.9651, 10.0725)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F5A #5A4318
analogous
#18505A #182F5A #22185A
triadic
#182F5A #5A182F #2F5A18
tetradic
#182F5A #5A1850 #5A4318 #185A22
square
#182F5A #5A1850 #5A4318 #185A22
split-complementary
#182F5A #5A2218 #505A18
monochromatic
#060D18 #0B162A #182F5A #25488A #3261BB

Accessibility & contrast

On white

13.18
#182F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#182F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F5A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F5A#FFFFFF#000000##FFFFFF
##182F5A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335C
Deuteranopia (green-blind)
#0E2D59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182f5a;
/* rgb */ color: rgb(24, 47, 90);
/* oklch */ color: oklch(31.2% 0.082 261.7);
Tailwind
colors: {
  custom: {
    50: '#5e6789',
    500: '#182f5a',
    950: '#000000',
  },
}
SCSS
$custom: #182f5a;
$custom-light: #5e6789;
$custom-dark: #000000;
JSON
{
  "hex": "#182f5a",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 219.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31188,
    "c": 0.08249,
    "h": 261.7
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#182F5A
secondary
#91743D
accent
#AB47E1
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #182F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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