#15314E#15314E

#15314E is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.063 H 251.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#15314E
RGBrgb(21, 49, 78)
HSLhsl(211, 58%, 19%)
HSVhsv(211, 73%, 31%)
CMYKcmyk(73.1%, 37.2%, 0%, 69.4%)
CIE-LABlab(19.66, 0.38, -20.93)
CIE-LCHlch(19.66, 20.94, 271.03°)
OKLaboklab(30.71% -0.0201 -0.0593)
OKLCHoklch(30.71% 0.063 251.3)
XYZxyz(2.7822, 2.9058, 7.6205)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15314E #4E3215
analogous
#154E4E #15314E #15154E
triadic
#15314E #4E1531 #314E15
tetradic
#15314E #4E154E #4E3215 #154E15
square
#15314E #4E154E #4E3215 #154E15
split-complementary
#15314E #4E1515 #4E4E15
monochromatic
#060F18 #08131E #15314E #224F7E #2F6EAE

Accessibility & contrast

On white

13.28
#15314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#15314E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15314E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15314E#FFFFFF#000000##FFFFFF
##15314E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15314e;
/* rgb */ color: rgb(21, 49, 78);
/* oklch */ color: oklch(30.7% 0.063 251.3);
Tailwind
colors: {
  custom: {
    50: '#5a687f',
    500: '#15314e',
    950: '#000000',
  },
}
SCSS
$custom: #15314e;
$custom-light: #5a687f;
$custom-dark: #000000;
JSON
{
  "hex": "#15314e",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 210.526,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.06264,
    "h": 251.3
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#15314E
secondary
#866039
accent
#9547E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #15314E

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

Preview Lab → · Contrast checker → · Palette generator →

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