#152C47#152C47

#152C47 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.9% C 0.058 H 253.7°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#152C47
RGBrgb(21, 44, 71)
HSLhsl(212, 54%, 18%)
HSVhsv(212, 70%, 28%)
CMYKcmyk(70.4%, 38%, 0%, 72.2%)
CIE-LABlab(17.53, 1.06, -19.55)
CIE-LCHlch(17.53, 19.58, 273.11°)
OKLaboklab(28.91% -0.0162 -0.0554)
OKLCHoklch(28.91% 0.058 253.7)
XYZxyz(2.3469, 2.4155, 6.3026)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C47 #473015
analogous
#154547 #152C47 #171547
triadic
#152C47 #47152C #2C4715
tetradic
#152C47 #471545 #473015 #154717
square
#152C47 #471545 #473015 #154717
split-complementary
#152C47 #471715 #454715
monochromatic
#070F18 #070F18 #152C47 #234976 #3167A5

Accessibility & contrast

On white

14.16
#152C47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152C47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C47
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C47#FFFFFF#000000##FFFFFF
##152C471.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202E48
Deuteranopia (green-blind)
#1A2946
Tritanopia (blue-blind)
#003236
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152c47;
/* rgb */ color: rgb(21, 44, 71);
/* oklch */ color: oklch(28.9% 0.058 253.7);
Tailwind
colors: {
  custom: {
    50: '#58647a',
    500: '#152c47',
    950: '#000000',
  },
}
SCSS
$custom: #152c47;
$custom-light: #58647a;
$custom-dark: #000000;
JSON
{
  "hex": "#152c47",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 71
  },
  "hsl": {
    "h": 212.4,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2891,
    "c": 0.05769,
    "h": 253.7
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#152C47
secondary
#7F5F39
accent
#9A4ADE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #152C47

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

Preview Lab → · Contrast checker → · Palette generator →

#152C47 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva