#182C86#182C86

#182C86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.152 H 267.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#182C86
RGBrgb(24, 44, 134)
HSLhsl(229, 70%, 31%)
HSVhsv(229, 82%, 53%)
CMYKcmyk(82.1%, 67.2%, 0%, 47.5%)
CIE-LABlab(22.71, 27.46, -52.32)
CIE-LCHlch(22.71, 59.09, 297.69°)
OKLaboklab(34.45% -0.0067 -0.1515)
OKLCHoklch(34.45% 0.152 267.5)
XYZxyz(5.5789, 3.7161, 22.9729)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C86 #867218
analogous
#186386 #182C86 #3B1886
triadic
#182C86 #86182C #2C8618
tetradic
#182C86 #861863 #867218 #18863B
square
#182C86 #861863 #867218 #18863B
split-complementary
#182C86 #863B18 #638618
monochromatic
#050A1E #0F1B52 #182C86 #213DBA #3C59DC

Accessibility & contrast

On white

12.05
#182C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#182C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C86
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C86#FFFFFF#000000##FFFFFF
##182C861.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182c86;
/* rgb */ color: rgb(24, 44, 134);
/* oklch */ color: oklch(34.4% 0.152 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a65aa',
    500: '#182c86',
    950: '#000000',
  },
}
SCSS
$custom: #182c86;
$custom-light: #6a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182c86",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 229.091,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34447,
    "c": 0.15163,
    "h": 267.5
  },
  "luminance": 0.03717
}

Semantic roles & 50–950 ramp

primary
#182C86
secondary
#BAA440
accent
#CC3BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #182C86

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

Preview Lab → · Contrast checker → · Palette generator →

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