#184A7F#184A7F

#184A7F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.104 H 253.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#184A7F
RGBrgb(24, 74, 127)
HSLhsl(211, 68%, 30%)
HSVhsv(211, 81%, 50%)
CMYKcmyk(81.1%, 41.7%, 0%, 50.2%)
CIE-LABlab(30.93, 3.78, -34.64)
CIE-LCHlch(30.93, 34.84, 276.23°)
OKLaboklab(40.52% -0.0303 -0.099)
OKLCHoklch(40.52% 0.104 253)
XYZxyz(6.6548, 6.6233, 21.0022)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#184A7F #7F4D18
analogous
#187E7F #184A7F #1A187F
triadic
#184A7F #7F184A #4A7F18
tetradic
#184A7F #7F187E #7F4D18 #187F1A
square
#184A7F #7F187E #7F4D18 #187F1A
split-complementary
#184A7F #7F1A18 #7E7F18
monochromatic
#050F1A #0E2C4C #184A7F #2268B2 #3886D9

Accessibility & contrast

On white

9.03
#184A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#184A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #184A7F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##184A7F#FFFFFF#000000##FFFFFF
##184A7F1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#1F457E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #184a7f;
/* rgb */ color: rgb(24, 74, 127);
/* oklch */ color: oklch(40.5% 0.104 253.0);
Tailwind
colors: {
  custom: {
    50: '#667ca4',
    500: '#184a7f',
    950: '#000000',
  },
}
SCSS
$custom: #184a7f;
$custom-light: #667ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#184a7f",
  "rgb": {
    "r": 24,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 210.874,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40522,
    "c": 0.10354,
    "h": 253
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#184A7F
secondary
#B37B3F
accent
#963DEB
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #184A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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