#182D57#182D57

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

Color values

HEX#182D57
RGBrgb(24, 45, 87)
HSLhsl(220, 57%, 22%)
HSVhsv(220, 72%, 34%)
CMYKcmyk(72.4%, 48.3%, 0%, 65.9%)
CIE-LABlab(19.05, 7.54, -27.92)
CIE-LCHlch(19.05, 28.92, 285.12°)
OKLaboklab(30.46% -0.0104 -0.0798)
OKLCHoklch(30.46% 0.08 262.6)
XYZxyz(3.0348, 2.7588, 9.3875)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D57 #574218
analogous
#184D57 #182D57 #231857
triadic
#182D57 #57182D #2D5718
tetradic
#182D57 #57184D #574218 #185723
square
#182D57 #57184D #574218 #185723
split-complementary
#182D57 #572318 #4D5718
monochromatic
#070C18 #0B1427 #182D57 #254687 #325FB7

Accessibility & contrast

On white

13.53
#182D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#182D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D57
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D57#FFFFFF#000000##FFFFFF
##182D571.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193159
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182d57;
/* rgb */ color: rgb(24, 45, 87);
/* oklch */ color: oklch(30.5% 0.080 262.6);
Tailwind
colors: {
  custom: {
    50: '#5d6587',
    500: '#182d57',
    950: '#000000',
  },
}
SCSS
$custom: #182d57;
$custom-light: #5d6587;
$custom-dark: #000000;
JSON
{
  "hex": "#182d57",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 87
  },
  "hsl": {
    "h": 220,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.08048,
    "h": 262.6
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#182D57
secondary
#8E733D
accent
#AD48E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05050B
muted
#797A7C

Preview Lab

Preview with #182D57

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

Preview Lab → · Contrast checker → · Palette generator →

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