#182A50#182A50

#182A50 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.073 H 263.5°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#182A50
RGBrgb(24, 42, 80)
HSLhsl(221, 54%, 20%)
HSVhsv(221, 70%, 31%)
CMYKcmyk(70%, 47.5%, 0%, 68.6%)
CIE-LABlab(17.59, 6.85, -25.55)
CIE-LCHlch(17.59, 26.46, 285.00°)
OKLaboklab(29.19% -0.0084 -0.0729)
OKLCHoklch(29.19% 0.073 263.5)
XYZxyz(2.6521, 2.4291, 7.9170)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A50 #503E18
analogous
#184650 #182A50 #221850
triadic
#182A50 #50182A #2A5018
tetradic
#182A50 #501846 #503E18 #185022
square
#182A50 #501846 #503E18 #185022
split-complementary
#182A50 #502218 #465018
monochromatic
#070C18 #0A1121 #182A50 #26437F #345BAE

Accessibility & contrast

On white

14.13
#182A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#182A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A50
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A50#FFFFFF#000000##FFFFFF
##182A501.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182E51
Deuteranopia (green-blind)
#10294F
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182a50;
/* rgb */ color: rgb(24, 42, 80);
/* oklch */ color: oklch(29.2% 0.073 263.5);
Tailwind
colors: {
  custom: {
    50: '#5c6381',
    500: '#182a50',
    950: '#000000',
  },
}
SCSS
$custom: #182a50;
$custom-light: #5c6381;
$custom-dark: #000000;
JSON
{
  "hex": "#182a50",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 80
  },
  "hsl": {
    "h": 220.714,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29189,
    "c": 0.07338,
    "h": 263.5
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#182A50
secondary
#876F3D
accent
#AE4BDD
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182A50

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

Preview Lab → · Contrast checker → · Palette generator →

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