#182B54#182B54

#182B54 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.078 H 263.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#182B54
RGBrgb(24, 43, 84)
HSLhsl(221, 56%, 21%)
HSVhsv(221, 71%, 33%)
CMYKcmyk(71.4%, 48.8%, 0%, 67.1%)
CIE-LABlab(18.20, 7.76, -27.28)
CIE-LCHlch(18.20, 28.37, 285.88°)
OKLaboklab(29.74% -0.0087 -0.078)
OKLCHoklch(29.74% 0.078 263.6)
XYZxyz(2.8402, 2.5618, 8.7306)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B54 #544118
analogous
#184954 #182B54 #231854
triadic
#182B54 #54182B #2B5418
tetradic
#182B54 #541849 #544118 #185423
square
#182B54 #541849 #544118 #185423
split-complementary
#182B54 #542318 #495418
monochromatic
#070C18 #0A1324 #182B54 #264384 #335CB3

Accessibility & contrast

On white

13.89
#182B54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182B54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B54
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B54#FFFFFF#000000##FFFFFF
##182B541.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172F56
Deuteranopia (green-blind)
#0D2A53
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182b54;
/* rgb */ color: rgb(24, 43, 84);
/* oklch */ color: oklch(29.7% 0.078 263.6);
Tailwind
colors: {
  custom: {
    50: '#5d6384',
    500: '#182b54',
    950: '#000000',
  },
}
SCSS
$custom: #182b54;
$custom-light: #5d6384;
$custom-dark: #000000;
JSON
{
  "hex": "#182b54",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 84
  },
  "hsl": {
    "h": 221,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2974,
    "c": 0.07845,
    "h": 263.6
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#182B54
secondary
#8B723D
accent
#AF49DF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #182B54

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

Preview Lab → · Contrast checker → · Palette generator →

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