#183E87#183E87

#183E87 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.130 H 261.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#183E87
RGBrgb(24, 62, 135)
HSLhsl(219, 70%, 31%)
HSVhsv(219, 82%, 53%)
CMYKcmyk(82.2%, 54.1%, 0%, 47.1%)
CIE-LABlab(27.81, 15.32, -44.63)
CIE-LCHlch(27.81, 47.18, 288.94°)
OKLaboklab(38.29% -0.0186 -0.1286)
OKLCHoklch(38.29% 0.13 261.8)
XYZxyz(6.4709, 5.3879, 23.6159)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E87 #876118
analogous
#187587 #183E87 #291887
triadic
#183E87 #87183E #3E8718
tetradic
#183E87 #871875 #876118 #188729
square
#183E87 #871875 #876118 #188729
split-complementary
#183E87 #872918 #758718
monochromatic
#060E1F #0F2653 #183E87 #2156BB #3D74DC

Accessibility & contrast

On white

10.11
#183E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#183E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E87
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E87#FFFFFF#000000##FFFFFF
##183E871.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#003D86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183e87;
/* rgb */ color: rgb(24, 62, 135);
/* oklch */ color: oklch(38.3% 0.130 261.8);
Tailwind
colors: {
  custom: {
    50: '#6872ab',
    500: '#183e87',
    950: '#000000',
  },
}
SCSS
$custom: #183e87;
$custom-light: #6872ab;
$custom-dark: #000000;
JSON
{
  "hex": "#183e87",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 219.459,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38292,
    "c": 0.12996,
    "h": 261.8
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#183E87
secondary
#BB9140
accent
#B03BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183E87

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

Preview Lab → · Contrast checker → · Palette generator →

#183E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva