#182A53#182A53

#182A53 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.078 H 264.3°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#182A53
RGBrgb(24, 42, 83)
HSLhsl(222, 55%, 21%)
HSVhsv(222, 71%, 33%)
CMYKcmyk(71.1%, 49.4%, 0%, 67.5%)
CIE-LABlab(17.80, 8.08, -27.24)
CIE-LCHlch(17.80, 28.42, 286.53°)
OKLaboklab(29.42% -0.0078 -0.0779)
OKLCHoklch(29.42% 0.078 264.3)
XYZxyz(2.7654, 2.4744, 8.5138)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A53 #534118
analogous
#184753 #182A53 #231853
triadic
#182A53 #53182A #2A5318
tetradic
#182A53 #531847 #534118 #185323
square
#182A53 #531847 #534118 #185323
split-complementary
#182A53 #532318 #475318
monochromatic
#070C18 #0A1224 #182A53 #264282 #335AB2

Accessibility & contrast

On white

14.05
#182A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A53
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A53#FFFFFF#000000##FFFFFF
##182A531.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162E55
Deuteranopia (green-blind)
#0C2952
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182a53;
/* rgb */ color: rgb(24, 42, 83);
/* oklch */ color: oklch(29.4% 0.078 264.3);
Tailwind
colors: {
  custom: {
    50: '#5c6384',
    500: '#182a53',
    950: '#000000',
  },
}
SCSS
$custom: #182a53;
$custom-light: #5c6384;
$custom-dark: #000000;
JSON
{
  "hex": "#182a53",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 83
  },
  "hsl": {
    "h": 221.695,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29416,
    "c": 0.07825,
    "h": 264.3
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#182A53
secondary
#8A723D
accent
#B149DE
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #182A53

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

Preview Lab → · Contrast checker → · Palette generator →

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