#182F86#182F86

#182F86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.148 H 266.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#182F86
RGBrgb(24, 47, 134)
HSLhsl(227, 70%, 31%)
HSVhsv(227, 82%, 53%)
CMYKcmyk(82.1%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.50, 25.40, -51.03)
CIE-LCHlch(23.50, 57.00, 296.46°)
OKLaboklab(35.03% -0.0084 -0.1477)
OKLCHoklch(35.03% 0.148 266.7)
XYZxyz(5.6948, 3.9478, 23.0115)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F86 #866F18
analogous
#186686 #182F86 #381886
triadic
#182F86 #86182F #2F8618
tetradic
#182F86 #861866 #866F18 #188638
square
#182F86 #861866 #866F18 #188638
split-complementary
#182F86 #863818 #668618
monochromatic
#050B1E #0F1D52 #182F86 #2141BA #3C5EDC

Accessibility & contrast

On white

11.73
#182F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#182F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F86
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F86#FFFFFF#000000##FFFFFF
##182F861.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182f86;
/* rgb */ color: rgb(24, 47, 134);
/* oklch */ color: oklch(35.0% 0.148 266.7);
Tailwind
colors: {
  custom: {
    50: '#6967aa',
    500: '#182f86',
    950: '#000000',
  },
}
SCSS
$custom: #182f86;
$custom-light: #6967aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182f86",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 227.455,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35028,
    "c": 0.14791,
    "h": 266.7
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#182F86
secondary
#BAA040
accent
#C73BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #182F86

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

Preview Lab → · Contrast checker → · Palette generator →

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