#183186#183186

#183186 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.145 H 266.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#183186
RGBrgb(24, 49, 134)
HSLhsl(226, 70%, 31%)
HSVhsv(226, 82%, 53%)
CMYKcmyk(82.1%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.04, 24.01, -50.15)
CIE-LCHlch(24.04, 55.60, 295.59°)
OKLaboklab(35.43% -0.0096 -0.1451)
OKLCHoklch(35.43% 0.145 266.2)
XYZxyz(5.7766, 4.1114, 23.0388)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183186 #866D18
analogous
#186886 #183186 #361886
triadic
#183186 #861831 #318618
tetradic
#183186 #861868 #866D18 #188636
square
#183186 #861868 #866D18 #188636
split-complementary
#183186 #863618 #688618
monochromatic
#050B1E #0F1E52 #183186 #2144BA #3C61DC

Accessibility & contrast

On white

11.52
#183186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#183186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183186
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183186#FFFFFF#000000##FFFFFF
##1831861.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183186;
/* rgb */ color: rgb(24, 49, 134);
/* oklch */ color: oklch(35.4% 0.145 266.2);
Tailwind
colors: {
  custom: {
    50: '#6968aa',
    500: '#183186',
    950: '#000000',
  },
}
SCSS
$custom: #183186;
$custom-light: #6968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#183186",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 226.364,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.14539,
    "h": 266.2
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#183186
secondary
#BA9E40
accent
#C43BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #183186

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

Preview Lab → · Contrast checker → · Palette generator →

#183186 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva