#18304A#18304A

#18304A is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.056 H 251.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#18304A
RGBrgb(24, 48, 74)
HSLhsl(211, 51%, 19%)
HSVhsv(211, 68%, 29%)
CMYKcmyk(67.6%, 35.1%, 0%, 71%)
CIE-LABlab(19.23, 0.11, -18.90)
CIE-LCHlch(19.23, 18.90, 270.33°)
OKLaboklab(30.34% -0.0175 -0.0534)
OKLCHoklch(30.34% 0.056 251.8)
XYZxyz(2.6692, 2.8023, 6.8775)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18304A #4A3218
analogous
#18494A #18304A #19184A
triadic
#18304A #4A1830 #304A18
tetradic
#18304A #4A1849 #4A3218 #184A19
square
#18304A #4A1849 #4A3218 #184A19
split-complementary
#18304A #4A1918 #494A18
monochromatic
#070F17 #09121C #18304A #274E78 #366CA6

Accessibility & contrast

On white

13.46
#18304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#18304A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18304A
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18304A#FFFFFF#000000##FFFFFF
##18304A1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25314B
Deuteranopia (green-blind)
#1E2C49
Tritanopia (blue-blind)
#003639
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18304a;
/* rgb */ color: rgb(24, 48, 74);
/* oklch */ color: oklch(30.3% 0.056 251.8);
Tailwind
colors: {
  custom: {
    50: '#5a687c',
    500: '#18304a',
    950: '#000000',
  },
}
SCSS
$custom: #18304a;
$custom-light: #5a687c;
$custom-dark: #000000;
JSON
{
  "hex": "#18304a",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 211.2,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30342,
    "c": 0.05617,
    "h": 251.8
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#18304A
secondary
#81603D
accent
#974DDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #18304A

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

Preview Lab → · Contrast checker → · Palette generator →

#18304A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva