#184E9C#184E9C

#184E9C is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.139 H 258.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#184E9C
RGBrgb(24, 78, 156)
HSLhsl(215, 73%, 35%)
HSVhsv(215, 85%, 61%)
CMYKcmyk(84.6%, 50%, 0%, 38.8%)
CIE-LABlab(34.07, 12.91, -47.36)
CIE-LCHlch(34.07, 49.09, 285.25°)
OKLaboklab(43.57% -0.0278 -0.1363)
OKLCHoklch(43.57% 0.139 258.5)
XYZxyz(9.0996, 8.0421, 32.5187)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184E9C #9C6618
analogous
#18909C #184E9C #24189C
triadic
#184E9C #9C184E #4E9C18
tetradic
#184E9C #9C1890 #9C6618 #189C24
square
#184E9C #9C1890 #9C6618 #189C24
split-complementary
#184E9C #9C2418 #909C18
monochromatic
#081932 #103367 #184E9C #2069D1 #4B89E3

Accessibility & contrast

On white

8.05
#184E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#184E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184E9C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184E9C#FFFFFF#000000##FFFFFF
##184E9C1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F569F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00616D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #184e9c;
/* rgb */ color: rgb(24, 78, 156);
/* oklch */ color: oklch(43.6% 0.139 258.5);
Tailwind
colors: {
  custom: {
    50: '#6d7eba',
    500: '#184e9c',
    950: '#000000',
  },
}
SCSS
$custom: #184e9c;
$custom-light: #6d7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#184e9c",
  "rgb": {
    "r": 24,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 215.455,
    "s": 73.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.13912,
    "h": 258.5
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#184E9C
secondary
#C5934B
accent
#A538F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #184E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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