#182B56#182B56

#182B56 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.082 H 264.1°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#182B56
RGBrgb(24, 43, 86)
HSLhsl(222, 56%, 22%)
HSVhsv(222, 72%, 34%)
CMYKcmyk(72.1%, 50%, 0%, 66.3%)
CIE-LABlab(18.34, 8.59, -28.40)
CIE-LCHlch(18.34, 29.67, 286.83°)
OKLaboklab(29.89% -0.0083 -0.0812)
OKLCHoklch(29.89% 0.082 264.1)
XYZxyz(2.9197, 2.5935, 9.1490)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B56 #564318
analogous
#184A56 #182B56 #241856
triadic
#182B56 #56182B #2B5618
tetradic
#182B56 #56184A #564318 #185624
square
#182B56 #56184A #564318 #185624
split-complementary
#182B56 #562418 #4A5618
monochromatic
#070C18 #0B1326 #182B56 #254386 #335BB6

Accessibility & contrast

On white

13.83
#182B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B56
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B56#FFFFFF#000000##FFFFFF
##182B561.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153058
Deuteranopia (green-blind)
#0A2A55
Tritanopia (blue-blind)
#00353C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182b56;
/* rgb */ color: rgb(24, 43, 86);
/* oklch */ color: oklch(29.9% 0.082 264.1);
Tailwind
colors: {
  custom: {
    50: '#5d6386',
    500: '#182b56',
    950: '#000000',
  },
}
SCSS
$custom: #182b56;
$custom-light: #5d6386;
$custom-dark: #000000;
JSON
{
  "hex": "#182b56",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 86
  },
  "hsl": {
    "h": 221.613,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29894,
    "c": 0.08167,
    "h": 264.1
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#182B56
secondary
#8D743D
accent
#B148E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182B56

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

Preview Lab → · Contrast checker → · Palette generator →

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