#183386#183386

#183386 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.143 H 265.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#183386
RGBrgb(24, 51, 134)
HSLhsl(225, 70%, 31%)
HSVhsv(225, 82%, 53%)
CMYKcmyk(82.1%, 61.9%, 0%, 47.5%)
CIE-LABlab(24.58, 22.62, -49.26)
CIE-LCHlch(24.58, 54.20, 294.67°)
OKLaboklab(35.83% -0.0109 -0.1424)
OKLCHoklch(35.83% 0.143 265.6)
XYZxyz(5.8621, 4.2824, 23.0673)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183386 #866B18
analogous
#186A86 #183386 #341886
triadic
#183386 #861833 #338618
tetradic
#183386 #86186A #866B18 #188634
square
#183386 #86186A #866B18 #188634
split-complementary
#183386 #863418 #6A8618
monochromatic
#050B1E #0F1F52 #183386 #2147BA #3C64DC

Accessibility & contrast

On white

11.31
#183386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183386
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183386#FFFFFF#000000##FFFFFF
##1833861.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183386;
/* rgb */ color: rgb(24, 51, 134);
/* oklch */ color: oklch(35.8% 0.143 265.6);
Tailwind
colors: {
  custom: {
    50: '#696aaa',
    500: '#183386',
    950: '#000000',
  },
}
SCSS
$custom: #183386;
$custom-light: #696aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#183386",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 225.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35834,
    "c": 0.14284,
    "h": 265.6
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#183386
secondary
#BA9C40
accent
#C13BEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #183386

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

Preview Lab → · Contrast checker → · Palette generator →

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