#182D4F#182D4F

#182D4F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.068 H 259.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#182D4F
RGBrgb(24, 45, 79)
HSLhsl(217, 53%, 20%)
HSVhsv(217, 70%, 31%)
CMYKcmyk(69.6%, 43%, 0%, 69%)
CIE-LABlab(18.52, 4.26, -23.41)
CIE-LCHlch(18.52, 23.79, 280.31°)
OKLaboklab(29.88% -0.0122 -0.0666)
OKLCHoklch(29.88% 0.068 259.6)
XYZxyz(2.7259, 2.6352, 7.7606)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D4F #4F3A18
analogous
#18484F #182D4F #1E184F
triadic
#182D4F #4F182D #2D4F18
tetradic
#182D4F #4F1848 #4F3A18 #184F1E
square
#182D4F #4F1848 #4F3A18 #184F1E
split-complementary
#182D4F #4F1E18 #484F18
monochromatic
#070D17 #0A1220 #182D4F #26487E #3562AD

Accessibility & contrast

On white

13.75
#182D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D4F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D4F#FFFFFF#000000##FFFFFF
##182D4F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3050
Deuteranopia (green-blind)
#162B4E
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182d4f;
/* rgb */ color: rgb(24, 45, 79);
/* oklch */ color: oklch(29.9% 0.068 259.6);
Tailwind
colors: {
  custom: {
    50: '#5b6580',
    500: '#182d4f',
    950: '#000000',
  },
}
SCSS
$custom: #182d4f;
$custom-light: #5b6580;
$custom-dark: #000000;
JSON
{
  "hex": "#182d4f",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 79
  },
  "hsl": {
    "h": 217.091,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29882,
    "c": 0.06767,
    "h": 259.6
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#182D4F
secondary
#866A3D
accent
#A54BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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