#182B4E#182B4E

#182B4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.069 H 261.6°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#182B4E
RGBrgb(24, 43, 78)
HSLhsl(219, 53%, 20%)
HSVhsv(219, 69%, 31%)
CMYKcmyk(69.2%, 44.9%, 0%, 69.4%)
CIE-LABlab(17.79, 5.30, -23.89)
CIE-LCHlch(17.79, 24.47, 282.50°)
OKLaboklab(29.3% -0.01 -0.068)
OKLCHoklch(29.3% 0.069 261.6)
XYZxyz(2.6152, 2.4718, 7.5455)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B4E #4E3B18
analogous
#18464E #182B4E #20184E
triadic
#182B4E #4E182B #2B4E18
tetradic
#182B4E #4E1846 #4E3B18 #184E20
square
#182B4E #4E1846 #4E3B18 #184E20
split-complementary
#182B4E #4E2018 #464E18
monochromatic
#070D17 #0A111F #182B4E #26457D #355FAC

Accessibility & contrast

On white

14.05
#182B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182B4E
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B4E#FFFFFF#000000##FFFFFF
##182B4E1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#14294D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182b4e;
/* rgb */ color: rgb(24, 43, 78);
/* oklch */ color: oklch(29.3% 0.069 261.6);
Tailwind
colors: {
  custom: {
    50: '#5b6380',
    500: '#182b4e',
    950: '#000000',
  },
}
SCSS
$custom: #182b4e;
$custom-light: #5b6380;
$custom-dark: #000000;
JSON
{
  "hex": "#182b4e",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 218.889,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.29297,
    "c": 0.06874,
    "h": 261.6
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#182B4E
secondary
#856C3D
accent
#A94BDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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