#182A48#182A48

#182A48 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.060 H 260.1°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#182A48
RGBrgb(24, 42, 72)
HSLhsl(218, 50%, 19%)
HSVhsv(218, 67%, 28%)
CMYKcmyk(66.7%, 41.7%, 0%, 71.8%)
CIE-LABlab(17.07, 3.60, -20.95)
CIE-LCHlch(17.07, 21.25, 279.74°)
OKLaboklab(28.62% -0.0104 -0.0594)
OKLCHoklch(28.62% 0.06 260.1)
XYZxyz(2.3739, 2.3178, 6.4519)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A48 #483618
analogous
#184248 #182A48 #1E1848
triadic
#182A48 #48182A #2A4818
tetradic
#182A48 #481842 #483618 #18481E
square
#182A48 #481842 #483618 #18481E
split-complementary
#182A48 #481E18 #424818
monochromatic
#080D17 #090F1A #182A48 #274576 #3760A4

Accessibility & contrast

On white

14.35
#182A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A48
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A48#FFFFFF#000000##FFFFFF
##182A481.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#172847
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182a48;
/* rgb */ color: rgb(24, 42, 72);
/* oklch */ color: oklch(28.6% 0.060 260.1);
Tailwind
colors: {
  custom: {
    50: '#5a637b',
    500: '#182a48',
    950: '#000000',
  },
}
SCSS
$custom: #182a48;
$custom-light: #5a637b;
$custom-dark: #000000;
JSON
{
  "hex": "#182a48",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 72
  },
  "hsl": {
    "h": 217.5,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28617,
    "c": 0.0603,
    "h": 260.1
  },
  "luminance": 0.02318
}

Semantic roles & 50–950 ramp

primary
#182A48
secondary
#7F663D
accent
#A54EDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #182A48

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

Preview Lab → · Contrast checker → · Palette generator →

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