#152B47#152B47

#152B47 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.6% C 0.059 H 255.3°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#152B47
RGBrgb(21, 43, 71)
HSLhsl(214, 54%, 18%)
HSVhsv(214, 70%, 28%)
CMYKcmyk(70.4%, 39.4%, 0%, 72.2%)
CIE-LABlab(17.19, 1.78, -20.09)
CIE-LCHlch(17.19, 20.17, 275.07°)
OKLaboklab(28.64% -0.0149 -0.0569)
OKLCHoklch(28.64% 0.059 255.3)
XYZxyz(2.3101, 2.3419, 6.2903)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B47 #473115
analogous
#154447 #152B47 #181547
triadic
#152B47 #47152B #2B4715
tetradic
#152B47 #471544 #473115 #154718
square
#152B47 #471544 #473115 #154718
split-complementary
#152B47 #471815 #444715
monochromatic
#070E18 #070E18 #152B47 #234876 #3164A5

Accessibility & contrast

On white

14.30
#152B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B47
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B47#FFFFFF#000000##FFFFFF
##152B471.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152b47;
/* rgb */ color: rgb(21, 43, 71);
/* oklch */ color: oklch(28.6% 0.059 255.3);
Tailwind
colors: {
  custom: {
    50: '#58647a',
    500: '#152b47',
    950: '#000000',
  },
}
SCSS
$custom: #152b47;
$custom-light: #58647a;
$custom-dark: #000000;
JSON
{
  "hex": "#152b47",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 71
  },
  "hsl": {
    "h": 213.6,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.05888,
    "h": 255.3
  },
  "luminance": 0.02342
}

Semantic roles & 50–950 ramp

primary
#152B47
secondary
#7F6039
accent
#9D4ADE
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #152B47

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

Preview Lab → · Contrast checker → · Palette generator →

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