#18314E#18314E

#18314E is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.9% C 0.061 H 253.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#18314E
RGBrgb(24, 49, 78)
HSLhsl(212, 53%, 20%)
HSVhsv(212, 69%, 31%)
CMYKcmyk(69.2%, 37.2%, 0%, 69.4%)
CIE-LABlab(19.80, 1.00, -20.70)
CIE-LCHlch(19.80, 20.72, 272.76°)
OKLaboklab(30.86% -0.0174 -0.0586)
OKLCHoklch(30.86% 0.061 253.4)
XYZxyz(2.8496, 2.9406, 7.6237)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18314E #4E3518
analogous
#184C4E #18314E #1A184E
triadic
#18314E #4E1831 #314E18
tetradic
#18314E #4E184C #4E3518 #184E1A
square
#18314E #4E184C #4E3518 #184E1A
split-complementary
#18314E #4E1A18 #4C4E18
monochromatic
#070F17 #0A141F #18314E #264E7D #356CAC

Accessibility & contrast

On white

13.22
#18314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18314E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18314E#FFFFFF#000000##FFFFFF
##18314E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334F
Deuteranopia (green-blind)
#1D2E4D
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #18314e;
/* rgb */ color: rgb(24, 49, 78);
/* oklch */ color: oklch(30.9% 0.061 253.4);
Tailwind
colors: {
  custom: {
    50: '#5b687f',
    500: '#18314e',
    950: '#000000',
  },
}
SCSS
$custom: #18314e;
$custom-light: #5b687f;
$custom-dark: #000000;
JSON
{
  "hex": "#18314e",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 212.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.30864,
    "c": 0.06113,
    "h": 253.4
  },
  "luminance": 0.02941
}

Semantic roles & 50–950 ramp

primary
#18314E
secondary
#85643D
accent
#994BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #18314E

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

Preview Lab → · Contrast checker → · Palette generator →

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