#182A8D#182A8D

#182A8D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.163 H 267.8°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#182A8D
RGBrgb(24, 42, 141)
HSLhsl(231, 71%, 32%)
HSVhsv(231, 83%, 55%)
CMYKcmyk(83%, 70.2%, 0%, 44.7%)
CIE-LABlab(22.90, 31.51, -56.37)
CIE-LCHlch(22.90, 64.58, 299.21°)
OKLaboklab(34.8% -0.0061 -0.1633)
OKLCHoklch(34.8% 0.163 267.8)
XYZxyz(6.0107, 3.7725, 25.6055)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A8D #8D7B18
analogous
#18658D #182A8D #40188D
triadic
#182A8D #8D182A #2A8D18
tetradic
#182A8D #8D1865 #8D7B18 #188D40
square
#182A8D #8D1865 #8D7B18 #188D40
split-complementary
#182A8D #8D4018 #658D18
monochromatic
#060B24 #0F1A59 #182A8D #213AC1 #4159DF

Accessibility & contrast

On white

11.97
#182A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#182A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A8D
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A8D#FFFFFF#000000##FFFFFF
##182A8D1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182a8d;
/* rgb */ color: rgb(24, 42, 141);
/* oklch */ color: oklch(34.8% 0.163 267.8);
Tailwind
colors: {
  custom: {
    50: '#6c63af',
    500: '#182a8d',
    950: '#000000',
  },
}
SCSS
$custom: #182a8d;
$custom-light: #6c63af;
$custom-dark: #000000;
JSON
{
  "hex": "#182a8d",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 230.769,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34801,
    "c": 0.16344,
    "h": 267.8
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#182A8D
secondary
#BFAC42
accent
#D23AEE
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #182A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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