#152E47#152E47

#152E47 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.5% C 0.055 H 250.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#152E47
RGBrgb(21, 46, 71)
HSLhsl(210, 54%, 18%)
HSVhsv(210, 70%, 28%)
CMYKcmyk(70.4%, 35.2%, 0%, 72.2%)
CIE-LABlab(18.22, -0.36, -18.46)
CIE-LCHlch(18.22, 18.47, 268.89°)
OKLaboklab(29.45% -0.0187 -0.0522)
OKLCHoklch(29.45% 0.055 250.2)
XYZxyz(2.4232, 2.5681, 6.3280)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E47 #472E15
analogous
#154747 #152E47 #151547
triadic
#152E47 #47152E #2E4715
tetradic
#152E47 #471547 #472E15 #154715
square
#152E47 #471547 #472E15 #154715
split-complementary
#152E47 #471515 #474715
monochromatic
#070F18 #070F18 #152E47 #234D76 #316BA5

Accessibility & contrast

On white

13.87
#152E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#152E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E47
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E47#FFFFFF#000000##FFFFFF
##152E471.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232F48
Deuteranopia (green-blind)
#1C2A47
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152e47;
/* rgb */ color: rgb(21, 46, 71);
/* oklch */ color: oklch(29.5% 0.055 250.2);
Tailwind
colors: {
  custom: {
    50: '#58667a',
    500: '#152e47',
    950: '#000000',
  },
}
SCSS
$custom: #152e47;
$custom-light: #58667a;
$custom-dark: #000000;
JSON
{
  "hex": "#152e47",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 71
  },
  "hsl": {
    "h": 210,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29452,
    "c": 0.05543,
    "h": 250.2
  },
  "luminance": 0.02568
}

Semantic roles & 50–950 ramp

primary
#152E47
secondary
#7F5C39
accent
#944ADE
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#040509
muted
#797A7B

Preview Lab

Preview with #152E47

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

Preview Lab → · Contrast checker → · Palette generator →

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