#183F86#183F86

#183F86 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.4% C 0.127 H 261.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#183F86
RGBrgb(24, 63, 134)
HSLhsl(219, 70%, 31%)
HSVhsv(219, 82%, 53%)
CMYKcmyk(82.1%, 53%, 0%, 47.5%)
CIE-LABlab(28.03, 14.21, -43.65)
CIE-LCHlch(28.03, 45.90, 288.03°)
OKLaboklab(38.44% -0.0195 -0.1257)
OKLCHoklch(38.44% 0.127 261.2)
XYZxyz(6.4557, 5.4697, 23.2651)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183F86 #865F18
analogous
#187686 #183F86 #281886
triadic
#183F86 #86183F #3F8618
tetradic
#183F86 #861876 #865F18 #188628
square
#183F86 #861876 #865F18 #188628
split-complementary
#183F86 #862818 #768618
monochromatic
#050E1E #0F2752 #183F86 #2157BA #3C75DC

Accessibility & contrast

On white

10.03
#183F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#183F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183F86
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183F86#FFFFFF#000000##FFFFFF
##183F861.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#003D85
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183f86;
/* rgb */ color: rgb(24, 63, 134);
/* oklch */ color: oklch(38.4% 0.127 261.2);
Tailwind
colors: {
  custom: {
    50: '#6873aa',
    500: '#183f86',
    950: '#000000',
  },
}
SCSS
$custom: #183f86;
$custom-light: #6873aa;
$custom-dark: #000000;
JSON
{
  "hex": "#183f86",
  "rgb": {
    "r": 24,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 218.727,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38436,
    "c": 0.12723,
    "h": 261.2
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#183F86
secondary
#BA8F40
accent
#AE3BEC
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #183F86

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

Preview Lab → · Contrast checker → · Palette generator →

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