#184387#184387

#184387 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.4% C 0.123 H 259.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#184387
RGBrgb(24, 67, 135)
HSLhsl(217, 70%, 31%)
HSVhsv(217, 82%, 53%)
CMYKcmyk(82.2%, 50.4%, 0%, 47.1%)
CIE-LABlab(29.30, 11.84, -42.22)
CIE-LCHlch(29.30, 43.84, 285.66°)
OKLaboklab(39.43% -0.0226 -0.1214)
OKLCHoklch(39.43% 0.124 259.5)
XYZxyz(6.7554, 5.9570, 23.7107)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184387 #875C18
analogous
#187A87 #184387 #251887
triadic
#184387 #871843 #438718
tetradic
#184387 #87187A #875C18 #188725
square
#184387 #87187A #875C18 #188725
split-complementary
#184387 #872518 #7A8718
monochromatic
#060F1F #0F2953 #184387 #215DBB #3D7BDC

Accessibility & contrast

On white

9.58
#184387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #184387
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184387#FFFFFF#000000##FFFFFF
##1843871.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #184387;
/* rgb */ color: rgb(24, 67, 135);
/* oklch */ color: oklch(39.4% 0.123 259.5);
Tailwind
colors: {
  custom: {
    50: '#6876aa',
    500: '#184387',
    950: '#000000',
  },
}
SCSS
$custom: #184387;
$custom-light: #6876aa;
$custom-dark: #000000;
JSON
{
  "hex": "#184387",
  "rgb": {
    "r": 24,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 216.757,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.1235,
    "h": 259.5
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#184387
secondary
#BB8B40
accent
#A83BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #184387

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

Preview Lab → · Contrast checker → · Palette generator →

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