#182F50#182F50

#182F50 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.067 H 257.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#182F50
RGBrgb(24, 47, 80)
HSLhsl(215, 54%, 20%)
HSVhsv(215, 70%, 31%)
CMYKcmyk(70%, 41.3%, 0%, 68.6%)
CIE-LABlab(19.25, 3.23, -22.92)
CIE-LCHlch(19.25, 23.15, 278.01°)
OKLaboklab(30.47% -0.0144 -0.0651)
OKLCHoklch(30.47% 0.067 257.5)
XYZxyz(2.8407, 2.8061, 7.9798)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F50 #503918
analogous
#184B50 #182F50 #1D1850
triadic
#182F50 #50182F #2F5018
tetradic
#182F50 #50184B #503918 #18501D
square
#182F50 #50184B #503918 #18501D
split-complementary
#182F50 #501D18 #4B5018
monochromatic
#070E18 #0A1321 #182F50 #264B7F #3466AE

Accessibility & contrast

On white

13.45
#182F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F50
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F50#FFFFFF#000000##FFFFFF
##182F501.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213251
Deuteranopia (green-blind)
#192C4F
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182f50;
/* rgb */ color: rgb(24, 47, 80);
/* oklch */ color: oklch(30.5% 0.067 257.5);
Tailwind
colors: {
  custom: {
    50: '#5c6781',
    500: '#182f50',
    950: '#000000',
  },
}
SCSS
$custom: #182f50;
$custom-light: #5c6781;
$custom-dark: #000000;
JSON
{
  "hex": "#182f50",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 215.357,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3047,
    "c": 0.06667,
    "h": 257.5
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#182F50
secondary
#87683D
accent
#A14BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #182F50

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

Preview Lab → · Contrast checker → · Palette generator →

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