#184E9B#184E9B

#184E9B is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.138 H 258.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#184E9B
RGBrgb(24, 78, 155)
HSLhsl(215, 73%, 35%)
HSVhsv(215, 85%, 61%)
CMYKcmyk(84.5%, 49.7%, 0%, 39.2%)
CIE-LABlab(34.00, 12.51, -46.87)
CIE-LCHlch(34.00, 48.51, 284.94°)
OKLaboklab(43.49% -0.028 -0.1349)
OKLCHoklch(43.49% 0.138 258.3)
XYZxyz(9.0153, 8.0084, 32.0746)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184E9B #9B6518
analogous
#188F9B #184E9B #23189B
triadic
#184E9B #9B184E #4E9B18
tetradic
#184E9B #9B188F #9B6518 #189B23
square
#184E9B #9B188F #9B6518 #189B23
split-complementary
#184E9B #9B2318 #8F9B18
monochromatic
#081931 #103366 #184E9B #2069D0 #4A89E3

Accessibility & contrast

On white

8.07
#184E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#184E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184E9B
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184E9B#FFFFFF#000000##FFFFFF
##184E9B1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #184e9b;
/* rgb */ color: rgb(24, 78, 155);
/* oklch */ color: oklch(43.5% 0.138 258.3);
Tailwind
colors: {
  custom: {
    50: '#6d7eb9',
    500: '#184e9b',
    950: '#000000',
  },
}
SCSS
$custom: #184e9b;
$custom-light: #6d7eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#184e9b",
  "rgb": {
    "r": 24,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 215.267,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.13775,
    "h": 258.3
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#184E9B
secondary
#C5924A
accent
#A438F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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