#182B86#182B86

#182B86 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.153 H 267.7°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#182B86
RGBrgb(24, 43, 134)
HSLhsl(230, 70%, 31%)
HSVhsv(230, 82%, 53%)
CMYKcmyk(82.1%, 67.9%, 0%, 47.5%)
CIE-LABlab(22.45, 28.14, -52.75)
CIE-LCHlch(22.45, 59.78, 298.08°)
OKLaboklab(34.26% -0.0062 -0.1527)
OKLCHoklch(34.26% 0.153 267.7)
XYZxyz(5.5421, 3.6425, 22.9606)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B86 #867318
analogous
#186286 #182B86 #3C1886
triadic
#182B86 #86182B #2B8618
tetradic
#182B86 #861862 #867318 #18863C
square
#182B86 #861862 #867318 #18863C
split-complementary
#182B86 #863C18 #628618
monochromatic
#050A1E #0F1A52 #182B86 #213CBA #3C58DC

Accessibility & contrast

On white

12.15
#182B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B86
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B86#FFFFFF#000000##FFFFFF
##182B861.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182b86;
/* rgb */ color: rgb(24, 43, 134);
/* oklch */ color: oklch(34.3% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#6a64aa',
    500: '#182b86',
    950: '#000000',
  },
}
SCSS
$custom: #182b86;
$custom-light: #6a64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#182b86",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 229.636,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34259,
    "c": 0.15285,
    "h": 267.7
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#182B86
secondary
#BAA540
accent
#CE3BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #182B86

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

Preview Lab → · Contrast checker → · Palette generator →

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