#184F8B#184F8B

#184F8B is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.6% C 0.114 H 253.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#184F8B
RGBrgb(24, 79, 139)
HSLhsl(211, 71%, 32%)
HSVhsv(211, 83%, 55%)
CMYKcmyk(82.7%, 43.2%, 0%, 45.5%)
CIE-LABlab(33.24, 5.32, -38.36)
CIE-LCHlch(33.24, 38.72, 277.90°)
OKLaboklab(42.56% -0.0319 -0.1098)
OKLCHoklch(42.56% 0.114 253.8)
XYZxyz(7.8311, 7.6493, 25.4848)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184F8B #8B5418
analogous
#18898B #184F8B #1A188B
triadic
#184F8B #8B184F #4F8B18
tetradic
#184F8B #8B1889 #8B5418 #188B1A
square
#184F8B #8B1889 #8B5418 #188B1A
split-complementary
#184F8B #8B1A18 #898B18
monochromatic
#061423 #0F3157 #184F8B #216DBF #3F8BDE

Accessibility & contrast

On white

8.30
#184F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#184F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184F8B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184F8B#FFFFFF#000000##FFFFFF
##184F8B1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#005D66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #184f8b;
/* rgb */ color: rgb(24, 79, 139);
/* oklch */ color: oklch(42.6% 0.114 253.8);
Tailwind
colors: {
  custom: {
    50: '#697fad',
    500: '#184f8b',
    950: '#000000',
  },
}
SCSS
$custom: #184f8b;
$custom-light: #697fad;
$custom-dark: #000000;
JSON
{
  "hex": "#184f8b",
  "rgb": {
    "r": 24,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 211.304,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.11436,
    "h": 253.8
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#184F8B
secondary
#BE8240
accent
#983AED
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #184F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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