#182A4F#182A4F

#182A4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.072 H 263.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#182A4F
RGBrgb(24, 42, 79)
HSLhsl(220, 53%, 20%)
HSVhsv(220, 70%, 31%)
CMYKcmyk(69.6%, 46.8%, 0%, 69%)
CIE-LABlab(17.53, 6.44, -24.99)
CIE-LCHlch(17.53, 25.80, 284.45°)
OKLaboklab(29.12% -0.0086 -0.0712)
OKLCHoklch(29.12% 0.072 263.1)
XYZxyz(2.6154, 2.4144, 7.7238)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A4F #4F3D18
analogous
#18454F #182A4F #22184F
triadic
#182A4F #4F182A #2A4F18
tetradic
#182A4F #4F1845 #4F3D18 #184F22
square
#182A4F #4F1845 #4F3D18 #184F22
split-complementary
#182A4F #4F2218 #454F18
monochromatic
#070C17 #0A1120 #182A4F #26437E #355CAD

Accessibility & contrast

On white

14.16
#182A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A4F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A4F#FFFFFF#000000##FFFFFF
##182A4F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E50
Deuteranopia (green-blind)
#11294E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182a4f;
/* rgb */ color: rgb(24, 42, 79);
/* oklch */ color: oklch(29.1% 0.072 263.1);
Tailwind
colors: {
  custom: {
    50: '#5b6380',
    500: '#182a4f',
    950: '#000000',
  },
}
SCSS
$custom: #182a4f;
$custom-light: #5b6380;
$custom-dark: #000000;
JSON
{
  "hex": "#182a4f",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 220.364,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29115,
    "c": 0.07176,
    "h": 263.1
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#182A4F
secondary
#866E3D
accent
#AD4BDD
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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