#182C57#182C57

#182C57 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.082 H 263.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#182C57
RGBrgb(24, 44, 87)
HSLhsl(221, 57%, 22%)
HSVhsv(221, 72%, 34%)
CMYKcmyk(72.4%, 49.4%, 0%, 65.9%)
CIE-LABlab(18.73, 8.27, -28.44)
CIE-LCHlch(18.73, 29.62, 286.22°)
OKLaboklab(30.22% -0.0092 -0.0813)
OKLCHoklch(30.22% 0.082 263.5)
XYZxyz(2.9971, 2.6834, 9.3750)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C57 #574318
analogous
#184C57 #182C57 #231857
triadic
#182C57 #57182C #2C5718
tetradic
#182C57 #57184C #574318 #185723
square
#182C57 #57184C #574318 #185723
split-complementary
#182C57 #572318 #4C5718
monochromatic
#070C18 #0B1427 #182C57 #254487 #325DB7

Accessibility & contrast

On white

13.66
#182C57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#182C57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C57
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C57#FFFFFF#000000##FFFFFF
##182C571.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173159
Deuteranopia (green-blind)
#0B2B56
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182c57;
/* rgb */ color: rgb(24, 44, 87);
/* oklch */ color: oklch(30.2% 0.082 263.5);
Tailwind
colors: {
  custom: {
    50: '#5d6487',
    500: '#182c57',
    950: '#000000',
  },
}
SCSS
$custom: #182c57;
$custom-light: #5d6487;
$custom-dark: #000000;
JSON
{
  "hex": "#182c57",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 87
  },
  "hsl": {
    "h": 220.952,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.08186,
    "h": 263.5
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#182C57
secondary
#8E743D
accent
#B048E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182C57

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

Preview Lab → · Contrast checker → · Palette generator →

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