#183E86#183E86

#183E86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.2% C 0.129 H 261.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#183E86
RGBrgb(24, 62, 134)
HSLhsl(219, 70%, 31%)
HSVhsv(219, 82%, 53%)
CMYKcmyk(82.1%, 53.7%, 0%, 47.5%)
CIE-LABlab(27.74, 14.90, -44.13)
CIE-LCHlch(27.74, 46.58, 288.66°)
OKLaboklab(38.21% -0.0187 -0.1272)
OKLCHoklch(38.21% 0.129 261.6)
XYZxyz(6.4008, 5.3599, 23.2468)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E86 #866018
analogous
#187586 #183E86 #291886
triadic
#183E86 #86183E #3E8618
tetradic
#183E86 #861875 #866018 #188629
square
#183E86 #861875 #866018 #188629
split-complementary
#183E86 #862918 #758618
monochromatic
#050E1E #0F2652 #183E86 #2156BA #3C73DC

Accessibility & contrast

On white

10.13
#183E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#183E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E86
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E86#FFFFFF#000000##FFFFFF
##183E861.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183e86;
/* rgb */ color: rgb(24, 62, 134);
/* oklch */ color: oklch(38.2% 0.129 261.6);
Tailwind
colors: {
  custom: {
    50: '#6872aa',
    500: '#183e86',
    950: '#000000',
  },
}
SCSS
$custom: #183e86;
$custom-light: #6872aa;
$custom-dark: #000000;
JSON
{
  "hex": "#183e86",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 134
  },
  "hsl": {
    "h": 219.273,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.12853,
    "h": 261.6
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#183E86
secondary
#BA9040
accent
#AF3BEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183E86

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

Preview Lab → · Contrast checker → · Palette generator →

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