#182C8D#182C8D

#182C8D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.161 H 267.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#182C8D
RGBrgb(24, 44, 141)
HSLhsl(230, 71%, 32%)
HSVhsv(230, 83%, 55%)
CMYKcmyk(83%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.40, 30.18, -55.56)
CIE-LCHlch(23.40, 63.23, 298.51°)
OKLaboklab(35.16% -0.0071 -0.1609)
OKLCHoklch(35.16% 0.161 267.5)
XYZxyz(6.0834, 3.9179, 25.6297)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C8D #8D7918
analogous
#18668D #182C8D #3F188D
triadic
#182C8D #8D182C #2C8D18
tetradic
#182C8D #8D1866 #8D7918 #188D3F
square
#182C8D #8D1866 #8D7918 #188D3F
split-complementary
#182C8D #8D3F18 #668D18
monochromatic
#060B24 #0F1C59 #182C8D #213CC1 #415CDF

Accessibility & contrast

On white

11.77
#182C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#182C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C8D
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C8D#FFFFFF#000000##FFFFFF
##182C8D1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182c8d;
/* rgb */ color: rgb(24, 44, 141);
/* oklch */ color: oklch(35.2% 0.161 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c65af',
    500: '#182c8d',
    950: '#000000',
  },
}
SCSS
$custom: #182c8d;
$custom-light: #6c65af;
$custom-dark: #000000;
JSON
{
  "hex": "#182c8d",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 229.744,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.1611,
    "h": 267.5
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#182C8D
secondary
#BFAA42
accent
#CF3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #182C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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