#152A47#152A47

#152A47 is a dark, moderate cyan. Relative luminance 0.023; OKLCH L 28.4% C 0.060 H 256.8°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#152A47
RGBrgb(21, 42, 71)
HSLhsl(215, 54%, 18%)
HSVhsv(215, 70%, 28%)
CMYKcmyk(70.4%, 40.8%, 0%, 72.2%)
CIE-LABlab(16.85, 2.50, -20.64)
CIE-LCHlch(16.85, 20.79, 276.91°)
OKLaboklab(28.37% -0.0137 -0.0585)
OKLCHoklch(28.37% 0.06 256.8)
XYZxyz(2.2741, 2.2701, 6.2783)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A47 #473215
analogous
#154347 #152A47 #191547
triadic
#152A47 #47152A #2A4715
tetradic
#152A47 #471543 #473215 #154719
square
#152A47 #471543 #473215 #154719
split-complementary
#152A47 #471915 #434715
monochromatic
#070E18 #070E18 #152A47 #234676 #3162A5

Accessibility & contrast

On white

14.44
#152A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#152A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A47
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A47#FFFFFF#000000##FFFFFF
##152A471.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C48
Deuteranopia (green-blind)
#172746
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152a47;
/* rgb */ color: rgb(21, 42, 71);
/* oklch */ color: oklch(28.4% 0.060 256.8);
Tailwind
colors: {
  custom: {
    50: '#58637a',
    500: '#152a47',
    950: '#000000',
  },
}
SCSS
$custom: #152a47;
$custom-light: #58637a;
$custom-dark: #000000;
JSON
{
  "hex": "#152a47",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 214.8,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28373,
    "c": 0.06013,
    "h": 256.8
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#152A47
secondary
#7F6139
accent
#A04ADE
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #152A47

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

Preview Lab → · Contrast checker → · Palette generator →

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