#182D86#182D86

#182D86 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.150 H 267.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#182D86
RGBrgb(24, 45, 134)
HSLhsl(229, 70%, 31%)
HSVhsv(229, 82%, 53%)
CMYKcmyk(82.1%, 66.4%, 0%, 47.5%)
CIE-LABlab(22.97, 26.78, -51.90)
CIE-LCHlch(22.97, 58.40, 297.29°)
OKLaboklab(34.64% -0.0073 -0.1502)
OKLCHoklch(34.64% 0.15 267.2)
XYZxyz(5.6166, 3.7915, 22.9855)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D86 #867118
analogous
#186486 #182D86 #3A1886
triadic
#182D86 #86182D #2D8618
tetradic
#182D86 #861864 #867118 #18863A
square
#182D86 #861864 #867118 #18863A
split-complementary
#182D86 #863A18 #648618
monochromatic
#050A1E #0F1C52 #182D86 #213EBA #3C5BDC

Accessibility & contrast

On white

11.94
#182D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#182D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D86
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D86#FFFFFF#000000##FFFFFF
##182D861.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182d86;
/* rgb */ color: rgb(24, 45, 134);
/* oklch */ color: oklch(34.6% 0.150 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a65aa',
    500: '#182d86',
    950: '#000000',
  },
}
SCSS
$custom: #182d86;
$custom-light: #6a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182d86",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 228.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34638,
    "c": 0.15041,
    "h": 267.2
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#182D86
secondary
#BAA340
accent
#CB3BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #182D86

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

Preview Lab → · Contrast checker → · Palette generator →

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