#182D89#182D89

#182D89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.155 H 267.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#182D89
RGBrgb(24, 45, 137)
HSLhsl(229, 70%, 32%)
HSVhsv(229, 82%, 54%)
CMYKcmyk(82.5%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.26, 27.96, -53.30)
CIE-LCHlch(23.26, 60.19, 297.68°)
OKLaboklab(34.94% -0.0074 -0.1543)
OKLCHoklch(34.94% 0.155 267.3)
XYZxyz(5.8289, 3.8764, 24.1031)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D89 #897418
analogous
#186689 #182D89 #3C1889
triadic
#182D89 #89182D #2D8918
tetradic
#182D89 #891866 #897418 #18893C
square
#182D89 #891866 #897418 #18893C
split-complementary
#182D89 #893C18 #668918
monochromatic
#060B21 #0F1C55 #182D89 #213EBD #3E5CDD

Accessibility & contrast

On white

11.83
#182D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#182D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D89
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D89#FFFFFF#000000##FFFFFF
##182D891.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182d89;
/* rgb */ color: rgb(24, 45, 137);
/* oklch */ color: oklch(34.9% 0.155 267.3);
Tailwind
colors: {
  custom: {
    50: '#6a65ac',
    500: '#182d89',
    950: '#000000',
  },
}
SCSS
$custom: #182d89;
$custom-light: #6a65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182d89",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 228.85,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34939,
    "c": 0.15451,
    "h": 267.3
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#182D89
secondary
#BDA540
accent
#CC3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #182D89

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

Preview Lab → · Contrast checker → · Palette generator →

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