#182C4C#182C4C

#182C4C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.064 H 259.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#182C4C
RGBrgb(24, 44, 76)
HSLhsl(217, 52%, 20%)
HSVhsv(217, 68%, 30%)
CMYKcmyk(68.4%, 42.1%, 0%, 70.2%)
CIE-LABlab(18.00, 3.76, -22.21)
CIE-LCHlch(18.00, 22.53, 279.61°)
OKLaboklab(29.41% -0.0118 -0.0631)
OKLCHoklch(29.41% 0.064 259.4)
XYZxyz(2.5814, 2.5171, 7.1859)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C4C #4C3818
analogous
#18464C #182C4C #1E184C
triadic
#182C4C #4C182C #2C4C18
tetradic
#182C4C #4C1846 #4C3818 #184C1E
square
#182C4C #4C1846 #4C3818 #184C1E
split-complementary
#182C4C #4C1E18 #464C18
monochromatic
#070D17 #09111D #182C4C #27477B #3562A9

Accessibility & contrast

On white

13.97
#182C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#182C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C4C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C4C#FFFFFF#000000##FFFFFF
##182C4C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4D
Deuteranopia (green-blind)
#172A4B
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182c4c;
/* rgb */ color: rgb(24, 44, 76);
/* oklch */ color: oklch(29.4% 0.064 259.4);
Tailwind
colors: {
  custom: {
    50: '#5b647e',
    500: '#182c4c',
    950: '#000000',
  },
}
SCSS
$custom: #182c4c;
$custom-light: #5b647e;
$custom-dark: #000000;
JSON
{
  "hex": "#182c4c",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 216.923,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29414,
    "c": 0.06416,
    "h": 259.4
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#182C4C
secondary
#83683D
accent
#A44CDB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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