#182E56#182E56

#182E56 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.078 H 261.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#182E56
RGBrgb(24, 46, 86)
HSLhsl(219, 56%, 22%)
HSVhsv(219, 72%, 34%)
CMYKcmyk(72.1%, 46.5%, 0%, 66.3%)
CIE-LABlab(19.31, 6.40, -26.84)
CIE-LCHlch(19.31, 27.60, 283.41°)
OKLaboklab(30.64% -0.0117 -0.0766)
OKLCHoklch(30.64% 0.078 261.3)
XYZxyz(3.0328, 2.8198, 9.1867)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E56 #564018
analogous
#184D56 #182E56 #211856
triadic
#182E56 #56182E #2E5618
tetradic
#182E56 #56184D #564018 #185621
square
#182E56 #56184D #564018 #185621
split-complementary
#182E56 #562118 #4D5618
monochromatic
#070D18 #0B1426 #182E56 #254886 #3361B6

Accessibility & contrast

On white

13.43
#182E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E56
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E56#FFFFFF#000000##FFFFFF
##182E561.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3258
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182e56;
/* rgb */ color: rgb(24, 46, 86);
/* oklch */ color: oklch(30.6% 0.078 261.3);
Tailwind
colors: {
  custom: {
    50: '#5d6686',
    500: '#182e56',
    950: '#000000',
  },
}
SCSS
$custom: #182e56;
$custom-light: #5d6686;
$custom-dark: #000000;
JSON
{
  "hex": "#182e56",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 218.71,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3064,
    "c": 0.07752,
    "h": 261.3
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#182E56
secondary
#8D703D
accent
#AA48E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C

Preview Lab

Preview with #182E56

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

Preview Lab → · Contrast checker → · Palette generator →

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