#184F9C#184F9C

#184F9C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.8% C 0.138 H 258.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#184F9C
RGBrgb(24, 79, 156)
HSLhsl(215, 73%, 35%)
HSVhsv(215, 85%, 61%)
CMYKcmyk(84.6%, 49.4%, 0%, 38.8%)
CIE-LABlab(34.37, 12.24, -46.88)
CIE-LCHlch(34.37, 48.45, 284.63°)
OKLaboklab(43.79% -0.0286 -0.1349)
OKLCHoklch(43.79% 0.138 258)
XYZxyz(9.1712, 8.1853, 32.5426)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F9C #9C6518
analogous
#18919C #184F9C #23189C
triadic
#184F9C #9C184F #4F9C18
tetradic
#184F9C #9C1891 #9C6518 #189C23
square
#184F9C #9C1891 #9C6518 #189C23
split-complementary
#184F9C #9C2318 #919C18
monochromatic
#081932 #103467 #184F9C #206AD1 #4B8BE3

Accessibility & contrast

On white

7.96
#184F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#184F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F9C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F9C#FFFFFF#000000##FFFFFF
##184F9C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21579F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #184f9c;
/* rgb */ color: rgb(24, 79, 156);
/* oklch */ color: oklch(43.8% 0.138 258.0);
Tailwind
colors: {
  custom: {
    50: '#6d7fba',
    500: '#184f9c',
    950: '#000000',
  },
}
SCSS
$custom: #184f9c;
$custom-light: #6d7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#184f9c",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 215,
    "s": 73.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.13789,
    "h": 258
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#184F9C
secondary
#C5924B
accent
#A338F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #184F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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