#15314F#15314F

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

Color values

HEX#15314F
RGBrgb(21, 49, 79)
HSLhsl(211, 58%, 20%)
HSVhsv(211, 73%, 31%)
CMYKcmyk(73.4%, 38%, 0%, 69%)
CIE-LABlab(19.72, 0.78, -21.51)
CIE-LCHlch(19.72, 21.53, 272.09°)
OKLaboklab(30.78% -0.0198 -0.061)
OKLCHoklch(30.78% 0.064 252)
XYZxyz(2.8183, 2.9203, 7.8108)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15314F #4F3315
analogous
#154E4F #15314F #16154F
triadic
#15314F #4F1531 #314F15
tetradic
#15314F #4F154E #4F3315 #154F16
square
#15314F #4F154E #4F3315 #154F16
split-complementary
#15314F #4F1615 #4E4F15
monochromatic
#060F18 #08131F #15314F #224F7F #2F6DB0

Accessibility & contrast

On white

13.26
#15314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15314F
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15314F#FFFFFF#000000##FFFFFF
##15314F1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15314f;
/* rgb */ color: rgb(21, 49, 79);
/* oklch */ color: oklch(30.8% 0.064 252.0);
Tailwind
colors: {
  custom: {
    50: '#5a6880',
    500: '#15314f',
    950: '#000000',
  },
}
SCSS
$custom: #15314f;
$custom-light: #5a6880;
$custom-dark: #000000;
JSON
{
  "hex": "#15314f",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 211.034,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.06414,
    "h": 252
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#15314F
secondary
#876139
accent
#9747E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #15314F

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

Preview Lab → · Contrast checker → · Palette generator →

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