#182A55#182A55

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

Color values

HEX#182A55
RGBrgb(24, 42, 85)
HSLhsl(222, 56%, 21%)
HSVhsv(222, 72%, 33%)
CMYKcmyk(71.8%, 50.6%, 0%, 66.7%)
CIE-LABlab(17.94, 8.91, -28.36)
CIE-LCHlch(17.94, 29.73, 287.44°)
OKLaboklab(29.57% -0.0074 -0.0811)
OKLCHoklch(29.57% 0.081 264.8)
XYZxyz(2.8438, 2.5057, 8.9264)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A55 #554318
analogous
#184955 #182A55 #251855
triadic
#182A55 #55182A #2A5518
tetradic
#182A55 #551849 #554318 #185525
square
#182A55 #551849 #554318 #185525
split-complementary
#182A55 #552518 #495518
monochromatic
#070C18 #0B1225 #182A55 #254285 #3359B4

Accessibility & contrast

On white

13.99
#182A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A55
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A55#FFFFFF#000000##FFFFFF
##182A551.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F57
Deuteranopia (green-blind)
#082954
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182a55;
/* rgb */ color: rgb(24, 42, 85);
/* oklch */ color: oklch(29.6% 0.081 264.8);
Tailwind
colors: {
  custom: {
    50: '#5d6385',
    500: '#182a55',
    950: '#000000',
  },
}
SCSS
$custom: #182a55;
$custom-light: #5d6385;
$custom-dark: #000000;
JSON
{
  "hex": "#182a55",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 85
  },
  "hsl": {
    "h": 222.295,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2957,
    "c": 0.08148,
    "h": 264.8
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#182A55
secondary
#8C753D
accent
#B349DF
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #182A55

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

Preview Lab → · Contrast checker → · Palette generator →

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