#182A4E#182A4E

#182A4E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.070 H 262.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#182A4E
RGBrgb(24, 42, 78)
HSLhsl(220, 53%, 20%)
HSVhsv(220, 69%, 31%)
CMYKcmyk(69.2%, 46.2%, 0%, 69.4%)
CIE-LABlab(17.46, 6.03, -24.42)
CIE-LCHlch(17.46, 25.15, 283.87°)
OKLaboklab(29.04% -0.0088 -0.0696)
OKLCHoklch(29.04% 0.07 262.8)
XYZxyz(2.5793, 2.3999, 7.5336)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A4E #4E3C18
analogous
#18454E #182A4E #21184E
triadic
#182A4E #4E182A #2A4E18
tetradic
#182A4E #4E1845 #4E3C18 #184E21
square
#182A4E #4E1845 #4E3C18 #184E21
split-complementary
#182A4E #4E2118 #454E18
monochromatic
#070D17 #0A111F #182A4E #26437D #355CAC

Accessibility & contrast

On white

14.19
#182A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#182A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A4E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A4E#FFFFFF#000000##FFFFFF
##182A4E1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E4F
Deuteranopia (green-blind)
#12294D
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182a4e;
/* rgb */ color: rgb(24, 42, 78);
/* oklch */ color: oklch(29.0% 0.070 262.8);
Tailwind
colors: {
  custom: {
    50: '#5b6380',
    500: '#182a4e',
    950: '#000000',
  },
}
SCSS
$custom: #182a4e;
$custom-light: #5b6380;
$custom-dark: #000000;
JSON
{
  "hex": "#182a4e",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 220,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.07012,
    "h": 262.8
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#182A4E
secondary
#856D3D
accent
#AC4BDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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