#184F9E#184F9E

#184F9E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.141 H 258.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#184F9E
RGBrgb(24, 79, 158)
HSLhsl(215, 74%, 36%)
HSVhsv(215, 85%, 62%)
CMYKcmyk(84.8%, 50%, 0%, 38%)
CIE-LABlab(34.51, 13.05, -47.86)
CIE-LCHlch(34.51, 49.61, 285.25°)
OKLaboklab(43.95% -0.0283 -0.1378)
OKLCHoklch(43.95% 0.141 258.4)
XYZxyz(9.3420, 8.2536, 33.4419)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F9E #9E6718
analogous
#18929E #184F9E #24189E
triadic
#184F9E #9E184F #4F9E18
tetradic
#184F9E #9E1892 #9E6718 #189E24
square
#184F9E #9E1892 #9E6718 #189E24
split-complementary
#184F9E #9E2418 #929E18
monochromatic
#081A34 #103469 #184F9E #206AD3 #4D8BE4

Accessibility & contrast

On white

7.92
#184F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#184F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F9E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F9E#FFFFFF#000000##FFFFFF
##184F9E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F58A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #184f9e;
/* rgb */ color: rgb(24, 79, 158);
/* oklch */ color: oklch(43.9% 0.141 258.4);
Tailwind
colors: {
  custom: {
    50: '#6e7fbb',
    500: '#184f9e',
    950: '#000000',
  },
}
SCSS
$custom: #184f9e;
$custom-light: #6e7fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#184f9e",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 158
  },
  "hsl": {
    "h": 215.373,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43945,
    "c": 0.14064,
    "h": 258.4
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#184F9E
secondary
#C6944C
accent
#A438F0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A12
muted
#7B7C81

Preview Lab

Preview with #184F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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