#152C40#152C40

#152C40 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.047 H 246.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#152C40
RGBrgb(21, 44, 64)
HSLhsl(208, 51%, 17%)
HSVhsv(208, 67%, 25%)
CMYKcmyk(67.2%, 31.2%, 0%, 74.9%)
CIE-LABlab(17.14, -1.75, -15.37)
CIE-LCHlch(17.14, 15.47, 263.51°)
OKLaboklab(28.47% -0.0187 -0.0432)
OKLCHoklch(28.47% 0.047 246.6)
XYZxyz(2.1350, 2.3308, 5.1869)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C40 #402915
analogous
#15403F #152C40 #151740
triadic
#152C40 #40152C #2C4015
tetradic
#152C40 #3F1540 #402915 #174015
square
#152C40 #3F1540 #402915 #174015
split-complementary
#152C40 #401517 #403F15
monochromatic
#081017 #081017 #152C40 #244C6E #336B9C

Accessibility & contrast

On white

14.32
#152C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#152C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C40
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C40#FFFFFF#000000##FFFFFF
##152C401.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232D41
Deuteranopia (green-blind)
#1E2840
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152c40;
/* rgb */ color: rgb(21, 44, 64);
/* oklch */ color: oklch(28.5% 0.047 246.6);
Tailwind
colors: {
  custom: {
    50: '#576475',
    500: '#152c40',
    950: '#000000',
  },
}
SCSS
$custom: #152c40;
$custom-light: #576475;
$custom-dark: #000000;
JSON
{
  "hex": "#152c40",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 64
  },
  "hsl": {
    "h": 207.907,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28468,
    "c": 0.04707,
    "h": 246.6
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#152C40
secondary
#785639
accent
#8F4EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030508
muted
#787A7B

Preview Lab

Preview with #152C40

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

Preview Lab → · Contrast checker → · Palette generator →

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