#182B4D#182B4D

#182B4D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.067 H 261.2°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#182B4D
RGBrgb(24, 43, 77)
HSLhsl(218, 52%, 20%)
HSVhsv(218, 69%, 30%)
CMYKcmyk(68.8%, 44.2%, 0%, 69.8%)
CIE-LABlab(17.73, 4.89, -23.32)
CIE-LCHlch(17.73, 23.82, 281.85°)
OKLaboklab(29.23% -0.0103 -0.0663)
OKLCHoklch(29.23% 0.067 261.2)
XYZxyz(2.5797, 2.4575, 7.3581)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B4D #4D3A18
analogous
#18454D #182B4D #20184D
triadic
#182B4D #4D182B #2B4D18
tetradic
#182B4D #4D1845 #4D3A18 #184D20
square
#182B4D #4D1845 #4D3A18 #184D20
split-complementary
#182B4D #4D2018 #454D18
monochromatic
#070D17 #09111E #182B4D #27457C #355FAA

Accessibility & contrast

On white

14.08
#182B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B4D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B4D#FFFFFF#000000##FFFFFF
##182B4D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4E
Deuteranopia (green-blind)
#14294C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182b4d;
/* rgb */ color: rgb(24, 43, 77);
/* oklch */ color: oklch(29.2% 0.067 261.2);
Tailwind
colors: {
  custom: {
    50: '#5b637f',
    500: '#182b4d',
    950: '#000000',
  },
}
SCSS
$custom: #182b4d;
$custom-light: #5b637f;
$custom-dark: #000000;
JSON
{
  "hex": "#182b4d",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 218.491,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29225,
    "c": 0.06711,
    "h": 261.2
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#182B4D
secondary
#846A3D
accent
#A84CDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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