#152C4C#152C4C

#152C4C is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.2% C 0.066 H 257.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#152C4C
RGBrgb(21, 44, 76)
HSLhsl(215, 57%, 19%)
HSVhsv(215, 72%, 30%)
CMYKcmyk(72.4%, 42.1%, 0%, 70.2%)
CIE-LABlab(17.84, 3.12, -22.47)
CIE-LCHlch(17.84, 22.68, 277.90°)
OKLaboklab(29.25% -0.0147 -0.0639)
OKLCHoklch(29.25% 0.066 257)
XYZxyz(2.5140, 2.4823, 7.1827)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C4C #4C3515
analogous
#15484C #152C4C #1A154C
triadic
#152C4C #4C152C #2C4C15
tetradic
#152C4C #4C1548 #4C3515 #154C1A
square
#152C4C #4C1548 #4C3515 #154C1A
split-complementary
#152C4C #4C1A15 #484C15
monochromatic
#070E18 #08101C #152C4C #22487C #2F64AC

Accessibility & contrast

On white

14.03
#152C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C4C
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C4C#FFFFFF#000000##FFFFFF
##152C4C1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4D
Deuteranopia (green-blind)
#16294B
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152c4c;
/* rgb */ color: rgb(21, 44, 76);
/* oklch */ color: oklch(29.2% 0.066 257.0);
Tailwind
colors: {
  custom: {
    50: '#59647e',
    500: '#152c4c',
    950: '#000000',
  },
}
SCSS
$custom: #152c4c;
$custom-light: #59647e;
$custom-dark: #000000;
JSON
{
  "hex": "#152c4c",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 214.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29249,
    "c": 0.06555,
    "h": 257
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#152C4C
secondary
#846539
accent
#A048E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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