#18304F#18304F

#18304F is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.064 H 255.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#18304F
RGBrgb(24, 48, 79)
HSLhsl(214, 53%, 20%)
HSVhsv(214, 70%, 31%)
CMYKcmyk(69.6%, 39.2%, 0%, 69%)
CIE-LABlab(19.52, 2.11, -21.81)
CIE-LCHlch(19.52, 21.92, 275.52°)
OKLaboklab(30.67% -0.0159 -0.0618)
OKLCHoklch(30.67% 0.064 255.6)
XYZxyz(2.8444, 2.8723, 7.8001)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18304F #4F3718
analogous
#184B4F #18304F #1B184F
triadic
#18304F #4F1830 #304F18
tetradic
#18304F #4F184B #4F3718 #184F1B
square
#18304F #4F184B #4F3718 #184F1B
split-complementary
#18304F #4F1B18 #4B4F18
monochromatic
#070E17 #0A1320 #18304F #264D7E #3569AD

Accessibility & contrast

On white

13.34
#18304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18304F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18304F#FFFFFF#000000##FFFFFF
##18304F1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233250
Deuteranopia (green-blind)
#1B2D4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #18304f;
/* rgb */ color: rgb(24, 48, 79);
/* oklch */ color: oklch(30.7% 0.064 255.6);
Tailwind
colors: {
  custom: {
    50: '#5b6880',
    500: '#18304f',
    950: '#000000',
  },
}
SCSS
$custom: #18304f;
$custom-light: #5b6880;
$custom-dark: #000000;
JSON
{
  "hex": "#18304f",
  "rgb": {
    "r": 24,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 213.818,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30665,
    "c": 0.06386,
    "h": 255.6
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#18304F
secondary
#86663D
accent
#9D4BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18304F

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

Preview Lab → · Contrast checker → · Palette generator →

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