#184DB4#184DB4

#184DB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.173 H 261.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#184DB4
RGBrgb(24, 77, 180)
HSLhsl(220, 76%, 40%)
HSVhsv(220, 87%, 71%)
CMYKcmyk(86.7%, 57.2%, 0%, 29.4%)
CIE-LABlab(35.59, 23.25, -59.23)
CIE-LCHlch(35.59, 63.62, 291.43°)
OKLaboklab(45.29% -0.0245 -0.1712)
OKLCHoklch(45.29% 0.173 261.9)
XYZxyz(11.2658, 8.7958, 44.2752)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184DB4 #B47F18
analogous
#189BB4 #184DB4 #3118B4
triadic
#184DB4 #B4184D #4DB418
tetradic
#184DB4 #B4189B #B47F18 #18B431
square
#184DB4 #B4189B #B47F18 #18B431
split-complementary
#184DB4 #B43118 #9BB418
monochromatic
#0A1F48 #11367E #184DB4 #2767E2 #5D8DE9

Accessibility & contrast

On white

7.61
#184DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#184DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184DB4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184DB4#FFFFFF#000000##FFFFFF
##184DB41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #184db4;
/* rgb */ color: rgb(24, 77, 180);
/* oklch */ color: oklch(45.3% 0.173 261.9);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#184db4',
    950: '#000000',
  },
}
SCSS
$custom: #184db4;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#184db4",
  "rgb": {
    "r": 24,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 219.615,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.17297,
    "h": 261.9
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#184DB4
secondary
#CDA65B
accent
#B235F3
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #184DB4

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

Preview Lab → · Contrast checker → · Palette generator →

#184DB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva