#15334F#15334F

#15334F is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.3% C 0.062 H 249.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#15334F
RGBrgb(21, 51, 79)
HSLhsl(209, 58%, 20%)
HSVhsv(209, 73%, 31%)
CMYKcmyk(73.4%, 35.4%, 0%, 69%)
CIE-LABlab(20.41, -0.61, -20.43)
CIE-LCHlch(20.41, 20.44, 268.28°)
OKLaboklab(31.32% -0.0222 -0.0578)
OKLCHoklch(31.32% 0.062 249)
XYZxyz(2.9038, 3.0913, 7.8393)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15334F #4F3115
analogous
#154F4E #15334F #15164F
triadic
#15334F #4F1533 #334F15
tetradic
#15334F #4E154F #4F3115 #164F15
square
#15334F #4E154F #4F3115 #164F15
split-complementary
#15334F #4F1516 #4F4E15
monochromatic
#061018 #08141F #15334F #22527F #2F71B0

Accessibility & contrast

On white

12.98
#15334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#15334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15334F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15334F#FFFFFF#000000##FFFFFF
##15334F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273450
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #15334f;
/* rgb */ color: rgb(21, 51, 79);
/* oklch */ color: oklch(31.3% 0.062 249.0);
Tailwind
colors: {
  custom: {
    50: '#5a6a80',
    500: '#15334f',
    950: '#000000',
  },
}
SCSS
$custom: #15334f;
$custom-light: #5a6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#15334f",
  "rgb": {
    "r": 21,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 208.966,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31316,
    "c": 0.06194,
    "h": 249
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#15334F
secondary
#875F39
accent
#9147E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #15334F

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

Preview Lab → · Contrast checker → · Palette generator →

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