#184687#184687

#184687 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.120 H 257.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#184687
RGBrgb(24, 70, 135)
HSLhsl(215, 70%, 31%)
HSVhsv(215, 82%, 53%)
CMYKcmyk(82.2%, 48.1%, 0%, 47.1%)
CIE-LABlab(30.21, 9.77, -40.75)
CIE-LCHlch(30.21, 41.91, 283.49°)
OKLaboklab(40.13% -0.0251 -0.117)
OKLCHoklch(40.13% 0.12 257.9)
XYZxyz(6.9384, 6.3229, 23.7717)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184687 #875918
analogous
#187D87 #184687 #211887
triadic
#184687 #871846 #468718
tetradic
#184687 #87187D #875918 #188721
square
#184687 #87187D #875918 #188721
split-complementary
#184687 #872118 #7D8718
monochromatic
#06101F #0F2B53 #184687 #2161BB #3D7FDC

Accessibility & contrast

On white

9.27
#184687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#184687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184687
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184687#FFFFFF#000000##FFFFFF
##1846871.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D89
Deuteranopia (green-blind)
#034286
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #184687;
/* rgb */ color: rgb(24, 70, 135);
/* oklch */ color: oklch(40.1% 0.120 257.9);
Tailwind
colors: {
  custom: {
    50: '#6878aa',
    500: '#184687',
    950: '#000000',
  },
}
SCSS
$custom: #184687;
$custom-light: #6878aa;
$custom-dark: #000000;
JSON
{
  "hex": "#184687",
  "rgb": {
    "r": 24,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 215.135,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40131,
    "c": 0.11969,
    "h": 257.9
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#184687
secondary
#BB8840
accent
#A33BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #184687

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

Preview Lab → · Contrast checker → · Palette generator →

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