#182D50#182D50

#182D50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.069 H 260.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#182D50
RGBrgb(24, 45, 80)
HSLhsl(218, 54%, 20%)
HSVhsv(218, 70%, 31%)
CMYKcmyk(70%, 43.7%, 0%, 68.6%)
CIE-LABlab(18.58, 4.66, -23.98)
CIE-LCHlch(18.58, 24.43, 281.01°)
OKLaboklab(29.95% -0.012 -0.0682)
OKLCHoklch(29.95% 0.069 260.1)
XYZxyz(2.7625, 2.6499, 7.9538)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D50 #503B18
analogous
#184950 #182D50 #1F1850
triadic
#182D50 #50182D #2D5018
tetradic
#182D50 #501849 #503B18 #18501F
square
#182D50 #501849 #503B18 #18501F
split-complementary
#182D50 #501F18 #495018
monochromatic
#070D18 #0A1321 #182D50 #26477F #3462AE

Accessibility & contrast

On white

13.73
#182D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#182D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D50
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D50#FFFFFF#000000##FFFFFF
##182D501.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3051
Deuteranopia (green-blind)
#152B4F
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182d50;
/* rgb */ color: rgb(24, 45, 80);
/* oklch */ color: oklch(30.0% 0.069 260.1);
Tailwind
colors: {
  custom: {
    50: '#5c6581',
    500: '#182d50',
    950: '#000000',
  },
}
SCSS
$custom: #182d50;
$custom-light: #5c6581;
$custom-dark: #000000;
JSON
{
  "hex": "#182d50",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 217.5,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.06927,
    "h": 260.1
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#182D50
secondary
#876B3D
accent
#A64BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182D50

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

Preview Lab → · Contrast checker → · Palette generator →

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