#182D88#182D88

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

Color values

HEX#182D88
RGBrgb(24, 45, 136)
HSLhsl(229, 70%, 31%)
HSVhsv(229, 82%, 53%)
CMYKcmyk(82.4%, 66.9%, 0%, 46.7%)
CIE-LABlab(23.16, 27.56, -52.83)
CIE-LCHlch(23.16, 59.59, 297.55°)
OKLaboklab(34.84% -0.0073 -0.153)
OKLCHoklch(34.84% 0.153 267.2)
XYZxyz(5.7575, 3.8479, 23.7270)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D88 #887318
analogous
#186588 #182D88 #3B1888
triadic
#182D88 #88182D #2D8818
tetradic
#182D88 #881865 #887318 #18883B
square
#182D88 #881865 #887318 #18883B
split-complementary
#182D88 #883B18 #658818
monochromatic
#060B20 #0F1C54 #182D88 #213EBC #3E5BDD

Accessibility & contrast

On white

11.87
#182D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#182D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D88
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D88#FFFFFF#000000##FFFFFF
##182D881.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182d88;
/* rgb */ color: rgb(24, 45, 136);
/* oklch */ color: oklch(34.8% 0.153 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a65ac',
    500: '#182d88',
    950: '#000000',
  },
}
SCSS
$custom: #182d88;
$custom-light: #6a65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182d88",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 228.75,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34838,
    "c": 0.15315,
    "h": 267.2
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#182D88
secondary
#BCA440
accent
#CB3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #182D88

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

Preview Lab → · Contrast checker → · Palette generator →

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