#182D7B#182D7B

#182D7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.135 H 267.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#182D7B
RGBrgb(24, 45, 123)
HSLhsl(227, 67%, 29%)
HSVhsv(227, 80%, 48%)
CMYKcmyk(80.5%, 63.4%, 0%, 51.8%)
CIE-LABlab(21.95, 22.39, -46.64)
CIE-LCHlch(21.95, 51.73, 295.64°)
OKLaboklab(33.57% -0.0071 -0.1348)
OKLCHoklch(33.57% 0.135 267)
XYZxyz(4.8890, 3.5005, 19.1530)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D7B #7B6618
analogous
#185F7B #182D7B #35187B
triadic
#182D7B #7B182D #2D7B18
tetradic
#182D7B #7B185F #7B6618 #187B35
square
#182D7B #7B185F #7B6618 #187B35
split-complementary
#182D7B #7B3518 #5F7B18
monochromatic
#05091A #0E1A48 #182D7B #2240AE #3658D8

Accessibility & contrast

On white

12.35
#182D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D7B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D7B#FFFFFF#000000##FFFFFF
##182D7B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182d7b;
/* rgb */ color: rgb(24, 45, 123);
/* oklch */ color: oklch(33.6% 0.135 267.0);
Tailwind
colors: {
  custom: {
    50: '#6765a2',
    500: '#182d7b',
    950: '#000000',
  },
}
SCSS
$custom: #182d7b;
$custom-light: #6765a2;
$custom-dark: #000000;
JSON
{
  "hex": "#182d7b",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 227.273,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33566,
    "c": 0.13502,
    "h": 267
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#182D7B
secondary
#B0983F
accent
#C63EEA
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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