#182C54#182C54

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

Color values

HEX#182C54
RGBrgb(24, 44, 84)
HSLhsl(220, 56%, 21%)
HSVhsv(220, 71%, 33%)
CMYKcmyk(71.4%, 47.6%, 0%, 67.1%)
CIE-LABlab(18.52, 7.03, -26.77)
CIE-LCHlch(18.52, 27.67, 284.72°)
OKLaboklab(29.99% -0.0098 -0.0764)
OKLCHoklch(29.99% 0.077 262.7)
XYZxyz(2.8770, 2.6354, 8.7428)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C54 #544018
analogous
#184A54 #182C54 #221854
triadic
#182C54 #54182C #2C5418
tetradic
#182C54 #54184A #544018 #185422
square
#182C54 #54184A #544018 #185422
split-complementary
#182C54 #542218 #4A5418
monochromatic
#070C18 #0A1324 #182C54 #264584 #335EB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182C54#FFFFFF#000000##FFFFFF
##182C541.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)
#193056
Deuteranopia (green-blind)
#0F2B53
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182c54;
/* rgb */ color: rgb(24, 44, 84);
/* oklch */ color: oklch(30.0% 0.077 262.7);
Tailwind
colors: {
  custom: {
    50: '#5c6484',
    500: '#182c54',
    950: '#000000',
  },
}
SCSS
$custom: #182c54;
$custom-light: #5c6484;
$custom-dark: #000000;
JSON
{
  "hex": "#182c54",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 84
  },
  "hsl": {
    "h": 220,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.07706,
    "h": 262.7
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#182C54
secondary
#8B713D
accent
#AD49DF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #182C54

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

Preview Lab → · Contrast checker → · Palette generator →

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