#18314F#18314F

#18314F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.063 H 254.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#18314F
RGBrgb(24, 49, 79)
HSLhsl(213, 53%, 20%)
HSVhsv(213, 70%, 31%)
CMYKcmyk(69.6%, 38%, 0%, 69%)
CIE-LABlab(19.86, 1.40, -21.28)
CIE-LCHlch(19.86, 21.33, 273.77°)
OKLaboklab(30.93% -0.0171 -0.0603)
OKLCHoklch(30.93% 0.063 254.1)
XYZxyz(2.8858, 2.9551, 7.8139)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18314F #4F3618
analogous
#184C4F #18314F #1A184F
triadic
#18314F #4F1831 #314F18
tetradic
#18314F #4F184C #4F3618 #184F1A
square
#18314F #4F184C #4F3618 #184F1A
split-complementary
#18314F #4F1A18 #4C4F18
monochromatic
#070F17 #0A1420 #18314F #264E7E #356BAD

Accessibility & contrast

On white

13.20
#18314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#18314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18314F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18314F#FFFFFF#000000##FFFFFF
##18314F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18314f;
/* rgb */ color: rgb(24, 49, 79);
/* oklch */ color: oklch(30.9% 0.063 254.1);
Tailwind
colors: {
  custom: {
    50: '#5b6880',
    500: '#18314f',
    950: '#000000',
  },
}
SCSS
$custom: #18314f;
$custom-light: #5b6880;
$custom-dark: #000000;
JSON
{
  "hex": "#18314f",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 212.727,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.06267,
    "h": 254.1
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#18314F
secondary
#86653D
accent
#9B4BDD
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18314F

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

Preview Lab → · Contrast checker → · Palette generator →

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