#182B4F#182B4F

#182B4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.070 H 262.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#182B4F
RGBrgb(24, 43, 79)
HSLhsl(219, 53%, 20%)
HSVhsv(219, 70%, 31%)
CMYKcmyk(69.6%, 45.6%, 0%, 69%)
CIE-LABlab(17.86, 5.71, -24.46)
CIE-LCHlch(17.86, 25.12, 283.14°)
OKLaboklab(29.37% -0.0098 -0.0697)
OKLCHoklch(29.37% 0.07 262)
XYZxyz(2.6514, 2.4862, 7.7358)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B4F #4F3C18
analogous
#18464F #182B4F #21184F
triadic
#182B4F #4F182B #2B4F18
tetradic
#182B4F #4F1846 #4F3C18 #184F21
square
#182B4F #4F1846 #4F3C18 #184F21
split-complementary
#182B4F #4F2118 #464F18
monochromatic
#070D17 #0A1120 #182B4F #26457E #355EAD

Accessibility & contrast

On white

14.03
#182B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B4F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B4F#FFFFFF#000000##FFFFFF
##182B4F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E50
Deuteranopia (green-blind)
#13294E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182b4f;
/* rgb */ color: rgb(24, 43, 79);
/* oklch */ color: oklch(29.4% 0.070 262.0);
Tailwind
colors: {
  custom: {
    50: '#5b6380',
    500: '#182b4f',
    950: '#000000',
  },
}
SCSS
$custom: #182b4f;
$custom-light: #5b6380;
$custom-dark: #000000;
JSON
{
  "hex": "#182b4f",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 219.273,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29369,
    "c": 0.07037,
    "h": 262
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#182B4F
secondary
#866D3D
accent
#AA4BDD
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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