#18304D#18304D

#18304D is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.5% C 0.061 H 254.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#18304D
RGBrgb(24, 48, 77)
HSLhsl(213, 52%, 20%)
HSVhsv(213, 69%, 30%)
CMYKcmyk(68.8%, 37.7%, 0%, 69.8%)
CIE-LABlab(19.41, 1.30, -20.65)
CIE-LCHlch(19.41, 20.70, 273.61°)
OKLaboklab(30.53% -0.0165 -0.0585)
OKLCHoklch(30.53% 0.061 254.2)
XYZxyz(2.7727, 2.8437, 7.4225)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18304D #4D3518
analogous
#184B4D #18304D #1B184D
triadic
#18304D #4D1830 #304D18
tetradic
#18304D #4D184B #4D3518 #184D1B
square
#18304D #4D184B #4D3518 #184D1B
split-complementary
#18304D #4D1B18 #4B4D18
monochromatic
#070F17 #09131E #18304D #274D7C #356AAA

Accessibility & contrast

On white

13.39
#18304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#18304D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18304D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18304D#FFFFFF#000000##FFFFFF
##18304D1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#1C2D4C
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18304d;
/* rgb */ color: rgb(24, 48, 77);
/* oklch */ color: oklch(30.5% 0.061 254.2);
Tailwind
colors: {
  custom: {
    50: '#5b687f',
    500: '#18304d',
    950: '#000000',
  },
}
SCSS
$custom: #18304d;
$custom-light: #5b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#18304d",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 212.83,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30533,
    "c": 0.06076,
    "h": 254.2
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#18304D
secondary
#84643D
accent
#9B4CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18304D

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

Preview Lab → · Contrast checker → · Palette generator →

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