#182F53#182F53

#182F53 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.071 H 259.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#182F53
RGBrgb(24, 47, 83)
HSLhsl(217, 55%, 21%)
HSVhsv(217, 71%, 33%)
CMYKcmyk(71.1%, 43.4%, 0%, 67.5%)
CIE-LABlab(19.44, 4.45, -24.63)
CIE-LCHlch(19.44, 25.03, 280.24°)
OKLaboklab(30.68% -0.0136 -0.0701)
OKLCHoklch(30.68% 0.071 259)
XYZxyz(2.9540, 2.8515, 8.5766)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F53 #533C18
analogous
#184C53 #182F53 #1E1853
triadic
#182F53 #53182F #2F5318
tetradic
#182F53 #53184C #533C18 #18531E
square
#182F53 #53184C #533C18 #18531E
split-complementary
#182F53 #531E18 #4C5318
monochromatic
#070D18 #0A1424 #182F53 #264A82 #3365B2

Accessibility & contrast

On white

13.37
#182F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#182F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F53
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F53#FFFFFF#000000##FFFFFF
##182F531.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3254
Deuteranopia (green-blind)
#162D52
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182f53;
/* rgb */ color: rgb(24, 47, 83);
/* oklch */ color: oklch(30.7% 0.071 259.0);
Tailwind
colors: {
  custom: {
    50: '#5c6783',
    500: '#182f53',
    950: '#000000',
  },
}
SCSS
$custom: #182f53;
$custom-light: #5c6783;
$custom-dark: #000000;
JSON
{
  "hex": "#182f53",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 216.61,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30679,
    "c": 0.07142,
    "h": 259
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#182F53
secondary
#8A6C3D
accent
#A449DE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #182F53

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

Preview Lab → · Contrast checker → · Palette generator →

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