#184EB4#184EB4

#184EB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.172 H 261.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#184EB4
RGBrgb(24, 78, 180)
HSLhsl(219, 76%, 40%)
HSVhsv(219, 87%, 71%)
CMYKcmyk(86.7%, 56.7%, 0%, 29.4%)
CIE-LABlab(35.86, 22.58, -58.78)
CIE-LCHlch(35.86, 62.97, 291.01°)
OKLaboklab(45.5% -0.0251 -0.1699)
OKLCHoklch(45.5% 0.172 261.6)
XYZxyz(11.3363, 8.9368, 44.2987)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184EB4 #B47E18
analogous
#189CB4 #184EB4 #3018B4
triadic
#184EB4 #B4184E #4EB418
tetradic
#184EB4 #B4189C #B47E18 #18B430
square
#184EB4 #B4189C #B47E18 #18B430
split-complementary
#184EB4 #B43018 #9CB418
monochromatic
#0A1F48 #11377E #184EB4 #2768E2 #5D8EE9

Accessibility & contrast

On white

7.53
#184EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#184EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184EB4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184EB4#FFFFFF#000000##FFFFFF
##184EB41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #184eb4;
/* rgb */ color: rgb(24, 78, 180);
/* oklch */ color: oklch(45.5% 0.172 261.6);
Tailwind
colors: {
  custom: {
    50: '#737ecb',
    500: '#184eb4',
    950: '#000000',
  },
}
SCSS
$custom: #184eb4;
$custom-light: #737ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#184eb4",
  "rgb": {
    "r": 24,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 219.231,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.17174,
    "h": 261.6
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#184EB4
secondary
#CDA65B
accent
#B135F3
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #184EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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