#184386#184386

#184386 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.122 H 259.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#184386
RGBrgb(24, 67, 134)
HSLhsl(217, 70%, 31%)
HSVhsv(217, 82%, 53%)
CMYKcmyk(82.1%, 50%, 0%, 47.5%)
CIE-LABlab(29.23, 11.43, -41.71)
CIE-LCHlch(29.23, 43.25, 285.32°)
OKLaboklab(39.36% -0.0227 -0.1199)
OKLCHoklch(39.36% 0.122 259.3)
XYZxyz(6.6853, 5.9289, 23.3417)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184386 #865B18
analogous
#187A86 #184386 #241886
triadic
#184386 #861843 #438618
tetradic
#184386 #86187A #865B18 #188624
square
#184386 #86187A #865B18 #188624
split-complementary
#184386 #862418 #7A8618
monochromatic
#050F1E #0F2952 #184386 #215DBA #3C7BDC

Accessibility & contrast

On white

9.61
#184386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#184386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184386
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184386#FFFFFF#000000##FFFFFF
##1843861.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #184386;
/* rgb */ color: rgb(24, 67, 134);
/* oklch */ color: oklch(39.4% 0.122 259.3);
Tailwind
colors: {
  custom: {
    50: '#6876aa',
    500: '#184386',
    950: '#000000',
  },
}
SCSS
$custom: #184386;
$custom-light: #6876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#184386",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 216.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39355,
    "c": 0.12207,
    "h": 259.3
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#184386
secondary
#BA8A40
accent
#A73BEC
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #184386

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

Preview Lab → · Contrast checker → · Palette generator →

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