#183387#183387

#183387 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.144 H 265.7°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#183387
RGBrgb(24, 51, 135)
HSLhsl(225, 70%, 31%)
HSVhsv(225, 82%, 53%)
CMYKcmyk(82.2%, 62.2%, 0%, 47.1%)
CIE-LABlab(24.67, 23.02, -49.74)
CIE-LCHlch(24.67, 54.80, 294.84°)
OKLaboklab(35.93% -0.0109 -0.1438)
OKLCHoklch(35.93% 0.144 265.7)
XYZxyz(5.9321, 4.3104, 23.4363)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183387 #876C18
analogous
#186A87 #183387 #341887
triadic
#183387 #871833 #338718
tetradic
#183387 #87186A #876C18 #188734
square
#183387 #87186A #876C18 #188734
split-complementary
#183387 #873418 #6A8718
monochromatic
#060C1F #0F1F53 #183387 #2147BB #3D64DC

Accessibility & contrast

On white

11.28
#183387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183387
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183387#FFFFFF#000000##FFFFFF
##1833871.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #183387;
/* rgb */ color: rgb(24, 51, 135);
/* oklch */ color: oklch(35.9% 0.144 265.7);
Tailwind
colors: {
  custom: {
    50: '#696aab',
    500: '#183387',
    950: '#000000',
  },
}
SCSS
$custom: #183387;
$custom-light: #696aab;
$custom-dark: #000000;
JSON
{
  "hex": "#183387",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 225.405,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35927,
    "c": 0.14424,
    "h": 265.7
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#183387
secondary
#BB9D40
accent
#C13BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #183387

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

Preview Lab → · Contrast checker → · Palette generator →

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