#15395F#15395F

#15395F is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.079 H 252.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#15395F
RGBrgb(21, 57, 95)
HSLhsl(211, 64%, 23%)
HSVhsv(211, 78%, 37%)
CMYKcmyk(77.9%, 40%, 0%, 62.7%)
CIE-LABlab(23.38, 1.80, -26.31)
CIE-LCHlch(23.38, 26.37, 273.91°)
OKLaboklab(33.95% -0.024 -0.0749)
OKLCHoklch(33.95% 0.079 252.3)
XYZxyz(3.8372, 3.9115, 11.3770)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15395F #5F3B15
analogous
#155E5F #15395F #16155F
triadic
#15395F #5F1539 #395F15
tetradic
#15395F #5F155E #5F3B15 #155F16
square
#15395F #5F155E #5F3B15 #155F16
split-complementary
#15395F #5F1615 #5E5F15
monochromatic
#060F19 #0A1B2D #15395F #205791 #2B75C3

Accessibility & contrast

On white

11.78
#15395F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#15395F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15395F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15395F#FFFFFF#000000##FFFFFF
##15395F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B61
Deuteranopia (green-blind)
#1C355E
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #15395f;
/* rgb */ color: rgb(21, 57, 95);
/* oklch */ color: oklch(34.0% 0.079 252.3);
Tailwind
colors: {
  custom: {
    50: '#5e6f8c',
    500: '#15395f',
    950: '#000000',
  },
}
SCSS
$custom: #15395f;
$custom-light: #5e6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#15395f",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 210.811,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33954,
    "c": 0.07866,
    "h": 252.3
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#15395F
secondary
#96693A
accent
#9641E7
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #15395F

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

Preview Lab → · Contrast checker → · Palette generator →

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