#15345B#15345B

#15345B is a dark, moderate cyan. Relative luminance 0.034; OKLCH L 32.4% C 0.079 H 255.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#15345B
RGBrgb(21, 52, 91)
HSLhsl(213, 63%, 22%)
HSVhsv(213, 77%, 36%)
CMYKcmyk(76.9%, 42.9%, 0%, 64.3%)
CIE-LABlab(21.47, 3.64, -26.72)
CIE-LCHlch(21.47, 26.96, 277.76°)
OKLaboklab(32.39% -0.0197 -0.0762)
OKLCHoklch(32.39% 0.079 255.5)
XYZxyz(3.4249, 3.3704, 10.3655)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15345B #5B3C15
analogous
#15575B #15345B #19155B
triadic
#15345B #5B1534 #345B15
tetradic
#15345B #5B1557 #5B3C15 #155B19
square
#15345B #5B1557 #5B3C15 #155B19
split-complementary
#15345B #5B1915 #575B15
monochromatic
#060E19 #0A1829 #15345B #20508D #2C6DBE

Accessibility & contrast

On white

12.54
#15345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#15345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15345B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15345B#FFFFFF#000000##FFFFFF
##15345B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375D
Deuteranopia (green-blind)
#17315A
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #15345b;
/* rgb */ color: rgb(21, 52, 91);
/* oklch */ color: oklch(32.4% 0.079 255.5);
Tailwind
colors: {
  custom: {
    50: '#5d6b89',
    500: '#15345b',
    950: '#000000',
  },
}
SCSS
$custom: #15345b;
$custom-light: #5d6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#15345b",
  "rgb": {
    "r": 21,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 213.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32385,
    "c": 0.07871,
    "h": 255.5
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#15345B
secondary
#926B39
accent
#9D42E6
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060B
muted
#797A7C

Preview Lab

Preview with #15345B

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

Preview Lab → · Contrast checker → · Palette generator →

#15345B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva