#184187#184187

#184187 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.126 H 260.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#184187
RGBrgb(24, 65, 135)
HSLhsl(218, 70%, 31%)
HSVhsv(218, 82%, 53%)
CMYKcmyk(82.2%, 51.9%, 0%, 47.1%)
CIE-LABlab(28.70, 13.23, -43.19)
CIE-LCHlch(28.70, 45.16, 287.03°)
OKLaboklab(38.97% -0.021 -0.1243)
OKLCHoklch(38.97% 0.126 260.4)
XYZxyz(6.6386, 5.7233, 23.6718)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184187 #875E18
analogous
#187887 #184187 #261887
triadic
#184187 #871841 #418718
tetradic
#184187 #871878 #875E18 #188726
square
#184187 #871878 #875E18 #188726
split-complementary
#184187 #872618 #788718
monochromatic
#060F1F #0F2853 #184187 #215ABB #3D78DC

Accessibility & contrast

On white

9.79
#184187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#184187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184187
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184187#FFFFFF#000000##FFFFFF
##1841871.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #184187;
/* rgb */ color: rgb(24, 65, 135);
/* oklch */ color: oklch(39.0% 0.126 260.4);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#184187',
    950: '#000000',
  },
}
SCSS
$custom: #184187;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#184187",
  "rgb": {
    "r": 24,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 217.838,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.12607,
    "h": 260.4
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#184187
secondary
#BB8D40
accent
#AB3BED
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #184187

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

Preview Lab → · Contrast checker → · Palette generator →

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