#184F8E#184F8E

#184F8E is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.8% C 0.119 H 254.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#184F8E
RGBrgb(24, 79, 142)
HSLhsl(212, 71%, 33%)
HSVhsv(212, 83%, 56%)
CMYKcmyk(83.1%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.43, 6.54, -39.89)
CIE-LCHlch(33.43, 40.42, 279.31°)
OKLaboklab(42.77% -0.0313 -0.1143)
OKLCHoklch(42.77% 0.119 254.7)
XYZxyz(8.0533, 7.7382, 26.6551)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F8E #8E5718
analogous
#188A8E #184F8E #1C188E
triadic
#184F8E #8E184F #4F8E18
tetradic
#184F8E #8E188A #8E5718 #188E1C
square
#184F8E #8E188A #8E5718 #188E1C
split-complementary
#184F8E #8E1C18 #8A8E18
monochromatic
#061525 #0F325A #184F8E #216CC2 #418BDF

Accessibility & contrast

On white

8.24
#184F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#184F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F8E
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F8E#FFFFFF#000000##FFFFFF
##184F8E1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #184f8e;
/* rgb */ color: rgb(24, 79, 142);
/* oklch */ color: oklch(42.8% 0.119 254.7);
Tailwind
colors: {
  custom: {
    50: '#6a7faf',
    500: '#184f8e',
    950: '#000000',
  },
}
SCSS
$custom: #184f8e;
$custom-light: #6a7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#184f8e",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 212.034,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.11851,
    "h": 254.7
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#184F8E
secondary
#C08542
accent
#9A3AEE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #184F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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