#182E88#182E88

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

Color values

HEX#182E88
RGBrgb(24, 46, 136)
HSLhsl(228, 70%, 31%)
HSVhsv(228, 82%, 53%)
CMYKcmyk(82.4%, 66.2%, 0%, 46.7%)
CIE-LABlab(23.42, 26.88, -52.41)
CIE-LCHlch(23.42, 58.90, 297.16°)
OKLaboklab(35.03% -0.0079 -0.1517)
OKLCHoklch(35.03% 0.152 267)
XYZxyz(5.7961, 3.9251, 23.7399)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E88 #887218
analogous
#186688 #182E88 #3A1888
triadic
#182E88 #88182E #2E8818
tetradic
#182E88 #881866 #887218 #18883A
square
#182E88 #881866 #887218 #18883A
split-complementary
#182E88 #883A18 #668818
monochromatic
#060B20 #0F1C54 #182E88 #2140BC #3E5DDD

Accessibility & contrast

On white

11.76
#182E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182E88
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E88#FFFFFF#000000##FFFFFF
##182E881.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182e88;
/* rgb */ color: rgb(24, 46, 136);
/* oklch */ color: oklch(35.0% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#6a66ac',
    500: '#182e88',
    950: '#000000',
  },
}
SCSS
$custom: #182e88;
$custom-light: #6a66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182e88",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 228.214,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35029,
    "c": 0.15192,
    "h": 267
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#182E88
secondary
#BCA340
accent
#CA3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #182E88

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

Preview Lab → · Contrast checker → · Palette generator →

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