#182847#182847

#182847 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.0% C 0.061 H 262.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#182847
RGBrgb(24, 40, 71)
HSLhsl(220, 49%, 19%)
HSVhsv(220, 66%, 28%)
CMYKcmyk(66.2%, 43.7%, 0%, 72.2%)
CIE-LABlab(16.34, 4.65, -21.43)
CIE-LCHlch(16.34, 21.93, 282.25°)
OKLaboklab(28.03% -0.008 -0.0608)
OKLCHoklch(28.03% 0.061 262.5)
XYZxyz(2.2724, 2.1665, 6.2584)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182847 #473718
analogous
#183F47 #182847 #1F1847
triadic
#182847 #471828 #284718
tetradic
#182847 #47183F #473718 #18471F
square
#182847 #47183F #473718 #18471F
split-complementary
#182847 #471F18 #3F4718
monochromatic
#080D17 #090E19 #182847 #274275 #375CA2

Accessibility & contrast

On white

14.65
#182847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#182847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182847
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182847#FFFFFF#000000##FFFFFF
##1828471.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2B48
Deuteranopia (green-blind)
#152646
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #182847;
/* rgb */ color: rgb(24, 40, 71);
/* oklch */ color: oklch(28.0% 0.061 262.5);
Tailwind
colors: {
  custom: {
    50: '#5a617a',
    500: '#182847',
    950: '#000000',
  },
}
SCSS
$custom: #182847;
$custom-light: #5a617a;
$custom-dark: #000000;
JSON
{
  "hex": "#182847",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 219.574,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28026,
    "c": 0.06137,
    "h": 262.5
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#182847
secondary
#7E683D
accent
#AA4FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040509
muted
#79797B

Preview Lab

Preview with #182847

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

Preview Lab → · Contrast checker → · Palette generator →

#182847 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva