#152C3F#152C3F

#152C3F is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.046 H 245.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#152C3F
RGBrgb(21, 44, 63)
HSLhsl(207, 50%, 16%)
HSVhsv(207, 67%, 25%)
CMYKcmyk(66.7%, 30.2%, 0%, 75.3%)
CIE-LABlab(17.08, -2.14, -14.76)
CIE-LCHlch(17.08, 14.92, 261.75°)
OKLaboklab(28.41% -0.0191 -0.0415)
OKLCHoklch(28.41% 0.046 245.3)
XYZxyz(2.1068, 2.3195, 5.0383)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C3F #3F2815
analogous
#153F3D #152C3F #15173F
triadic
#152C3F #3F152C #2C3F15
tetradic
#152C3F #3D153F #3F2815 #173F15
square
#152C3F #3D153F #3F2815 #173F15
split-complementary
#152C3F #3F1517 #3F3D15
monochromatic
#081017 #081017 #152C3F #244C6D #346C9B

Accessibility & contrast

On white

14.34
#152C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#152C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C3F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C3F#FFFFFF#000000##FFFFFF
##152C3F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C40
Deuteranopia (green-blind)
#1E283F
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152c3f;
/* rgb */ color: rgb(21, 44, 63);
/* oklch */ color: oklch(28.4% 0.046 245.3);
Tailwind
colors: {
  custom: {
    50: '#576474',
    500: '#152c3f',
    950: '#000000',
  },
}
SCSS
$custom: #152c3f;
$custom-light: #576474;
$custom-dark: #000000;
JSON
{
  "hex": "#152c3f",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 63
  },
  "hsl": {
    "h": 207.143,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.04564,
    "h": 245.3
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#152C3F
secondary
#775539
accent
#8D4EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #152C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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