#18304B#18304B

#18304B is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.058 H 252.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#18304B
RGBrgb(24, 48, 75)
HSLhsl(212, 52%, 19%)
HSVhsv(212, 68%, 29%)
CMYKcmyk(68%, 36%, 0%, 70.6%)
CIE-LABlab(19.29, 0.51, -19.49)
CIE-LCHlch(19.29, 19.50, 271.49°)
OKLaboklab(30.4% -0.0172 -0.0551)
OKLCHoklch(30.4% 0.058 252.7)
XYZxyz(2.7032, 2.8158, 7.0563)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18304B #4B3318
analogous
#184A4B #18304B #1A184B
triadic
#18304B #4B1830 #304B18
tetradic
#18304B #4B184A #4B3318 #184B1A
square
#18304B #4B184A #4B3318 #184B1A
split-complementary
#18304B #4B1A18 #4A4B18
monochromatic
#070F17 #09121D #18304B #274E79 #366BA8

Accessibility & contrast

On white

13.43
#18304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18304B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18304B#FFFFFF#000000##FFFFFF
##18304B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25314C
Deuteranopia (green-blind)
#1E2D4A
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18304b;
/* rgb */ color: rgb(24, 48, 75);
/* oklch */ color: oklch(30.4% 0.058 252.7);
Tailwind
colors: {
  custom: {
    50: '#5a687d',
    500: '#18304b',
    950: '#000000',
  },
}
SCSS
$custom: #18304b;
$custom-light: #5a687d;
$custom-dark: #000000;
JSON
{
  "hex": "#18304b",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 211.765,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.05768,
    "h": 252.7
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#18304B
secondary
#82613D
accent
#984DDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #18304B

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

Preview Lab → · Contrast checker → · Palette generator →

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