#152C46#152C46

#152C46 is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.056 H 252.9°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#152C46
RGBrgb(21, 44, 70)
HSLhsl(212, 54%, 18%)
HSVhsv(212, 70%, 27%)
CMYKcmyk(70%, 37.1%, 0%, 72.5%)
CIE-LABlab(17.47, 0.65, -18.96)
CIE-LCHlch(17.47, 18.97, 271.98°)
OKLaboklab(28.84% -0.0165 -0.0536)
OKLCHoklch(28.84% 0.056 252.9)
XYZxyz(2.3150, 2.4028, 6.1349)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C46 #462F15
analogous
#154446 #152C46 #171546
triadic
#152C46 #46152C #2C4615
tetradic
#152C46 #461544 #462F15 #154617
square
#152C46 #461544 #462F15 #154617
split-complementary
#152C46 #461715 #444615
monochromatic
#070F18 #070F18 #152C46 #234A75 #3167A4

Accessibility & contrast

On white

14.18
#152C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C46
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C46#FFFFFF#000000##FFFFFF
##152C461.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D47
Deuteranopia (green-blind)
#1A2945
Tritanopia (blue-blind)
#003235
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152c46;
/* rgb */ color: rgb(21, 44, 70);
/* oklch */ color: oklch(28.8% 0.056 252.9);
Tailwind
colors: {
  custom: {
    50: '#586479',
    500: '#152c46',
    950: '#000000',
  },
}
SCSS
$custom: #152c46;
$custom-light: #586479;
$custom-dark: #000000;
JSON
{
  "hex": "#152c46",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 70
  },
  "hsl": {
    "h": 211.837,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28844,
    "c": 0.05613,
    "h": 252.9
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#152C46
secondary
#7E5E39
accent
#984BDD
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030509
muted
#787A7B

Preview Lab

Preview with #152C46

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

Preview Lab → · Contrast checker → · Palette generator →

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