#184795#184795

#184795 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.138 H 260.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#184795
RGBrgb(24, 71, 149)
HSLhsl(217, 72%, 34%)
HSVhsv(217, 84%, 58%)
CMYKcmyk(83.9%, 52.3%, 0%, 41.6%)
CIE-LABlab(31.51, 14.83, -47.25)
CIE-LCHlch(31.51, 49.53, 287.42°)
OKLaboklab(41.44% -0.0236 -0.1362)
OKLCHoklch(41.44% 0.138 260.2)
XYZxyz(8.0528, 6.8696, 29.3295)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184795 #956618
analogous
#188695 #184795 #281895
triadic
#184795 #951847 #479518
tetradic
#184795 #951886 #956618 #189528
square
#184795 #951886 #956618 #189528
split-complementary
#184795 #952818 #869518
monochromatic
#07152C #102E60 #184795 #2060CA #4680E1

Accessibility & contrast

On white

8.85
#184795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#184795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184795
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184795#FFFFFF#000000##FFFFFF
##1847951.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125098
Deuteranopia (green-blind)
#004593
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #184795;
/* rgb */ color: rgb(24, 71, 149);
/* oklch */ color: oklch(41.4% 0.138 260.2);
Tailwind
colors: {
  custom: {
    50: '#6c79b5',
    500: '#184795',
    950: '#000000',
  },
}
SCSS
$custom: #184795;
$custom-light: #6c79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#184795",
  "rgb": {
    "r": 24,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 217.44,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41443,
    "c": 0.1382,
    "h": 260.2
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#184795
secondary
#C29446
accent
#AA39EF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #184795

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

Preview Lab → · Contrast checker → · Palette generator →

#184795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva