#184087#184087

#184087 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.127 H 260.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#184087
RGBrgb(24, 64, 135)
HSLhsl(218, 70%, 31%)
HSVhsv(218, 82%, 53%)
CMYKcmyk(82.2%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.41, 13.92, -43.67)
CIE-LCHlch(28.41, 45.83, 287.68°)
OKLaboklab(38.74% -0.0202 -0.1257)
OKLCHoklch(38.74% 0.127 260.9)
XYZxyz(6.5817, 5.6095, 23.6528)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184087 #875F18
analogous
#187787 #184087 #271887
triadic
#184087 #871840 #408718
tetradic
#184087 #871877 #875F18 #188727
square
#184087 #871877 #875F18 #188727
split-complementary
#184087 #872718 #778718
monochromatic
#060F1F #0F2753 #184087 #2159BB #3D76DC

Accessibility & contrast

On white

9.90
#184087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#184087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184087
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184087#FFFFFF#000000##FFFFFF
##1840871.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #184087;
/* rgb */ color: rgb(24, 64, 135);
/* oklch */ color: oklch(38.7% 0.127 260.9);
Tailwind
colors: {
  custom: {
    50: '#6874aa',
    500: '#184087',
    950: '#000000',
  },
}
SCSS
$custom: #184087;
$custom-light: #6874aa;
$custom-dark: #000000;
JSON
{
  "hex": "#184087",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 218.378,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38744,
    "c": 0.12736,
    "h": 260.9
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#184087
secondary
#BB8F40
accent
#AD3BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #184087

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

Preview Lab → · Contrast checker → · Palette generator →

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