#182A56#182A56

#182A56 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.083 H 265.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#182A56
RGBrgb(24, 42, 86)
HSLhsl(223, 56%, 22%)
HSVhsv(223, 72%, 34%)
CMYKcmyk(72.1%, 51.2%, 0%, 66.3%)
CIE-LABlab(18.02, 9.32, -28.91)
CIE-LCHlch(18.02, 30.38, 287.88°)
OKLaboklab(29.65% -0.0072 -0.0828)
OKLCHoklch(29.65% 0.083 265)
XYZxyz(2.8838, 2.5217, 9.1371)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A56 #564418
analogous
#184956 #182A56 #251856
triadic
#182A56 #56182A #2A5618
tetradic
#182A56 #561849 #564418 #185625
square
#182A56 #561849 #564418 #185625
split-complementary
#182A56 #562518 #495618
monochromatic
#070C18 #0B1326 #182A56 #254186 #3359B6

Accessibility & contrast

On white

13.96
#182A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A56
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A56#FFFFFF#000000##FFFFFF
##182A561.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F58
Deuteranopia (green-blind)
#072955
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182a56;
/* rgb */ color: rgb(24, 42, 86);
/* oklch */ color: oklch(29.6% 0.083 265.0);
Tailwind
colors: {
  custom: {
    50: '#5d6386',
    500: '#182a56',
    950: '#000000',
  },
}
SCSS
$custom: #182a56;
$custom-light: #5d6386;
$custom-dark: #000000;
JSON
{
  "hex": "#182a56",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 86
  },
  "hsl": {
    "h": 222.581,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29649,
    "c": 0.08308,
    "h": 265
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#182A56
secondary
#8D763D
accent
#B448E0
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050B
muted
#79797C

Preview Lab

Preview with #182A56

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

Preview Lab → · Contrast checker → · Palette generator →

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