#182B7D#182B7D

#182B7D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.140 H 267.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#182B7D
RGBrgb(24, 43, 125)
HSLhsl(229, 68%, 29%)
HSVhsv(229, 81%, 49%)
CMYKcmyk(80.8%, 65.6%, 0%, 51%)
CIE-LABlab(21.59, 24.59, -48.49)
CIE-LCHlch(21.59, 54.37, 296.89°)
OKLaboklab(33.36% -0.0058 -0.1403)
OKLCHoklch(33.36% 0.14 267.6)
XYZxyz(4.9409, 3.4021, 19.7943)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B7D #7D6A18
analogous
#185E7D #182B7D #38187D
triadic
#182B7D #7D182B #2B7D18
tetradic
#182B7D #7D185E #7D6A18 #187D38
square
#182B7D #7D185E #7D6A18 #187D38
split-complementary
#182B7D #7D3818 #5E7D18
monochromatic
#05091A #0E194A #182B7D #223DB0 #3755D9

Accessibility & contrast

On white

12.50
#182B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B7D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B7D#FFFFFF#000000##FFFFFF
##182B7D1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182b7d;
/* rgb */ color: rgb(24, 43, 125);
/* oklch */ color: oklch(33.4% 0.140 267.6);
Tailwind
colors: {
  custom: {
    50: '#6764a3',
    500: '#182b7d',
    950: '#000000',
  },
}
SCSS
$custom: #182b7d;
$custom-light: #6764a3;
$custom-dark: #000000;
JSON
{
  "hex": "#182b7d",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 228.713,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33357,
    "c": 0.14041,
    "h": 267.6
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#182B7D
secondary
#B29C3F
accent
#CA3DEB
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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