#152B45#152B45

#152B45 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.5% C 0.056 H 253.8°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#152B45
RGBrgb(21, 43, 69)
HSLhsl(213, 53%, 18%)
HSVhsv(213, 70%, 27%)
CMYKcmyk(69.6%, 37.7%, 0%, 72.9%)
CIE-LABlab(17.07, 0.97, -18.91)
CIE-LCHlch(17.07, 18.94, 272.92°)
OKLaboklab(28.51% -0.0156 -0.0535)
OKLCHoklch(28.51% 0.056 253.8)
XYZxyz(2.2469, 2.3166, 5.9578)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B45 #452F15
analogous
#154345 #152B45 #171545
triadic
#152B45 #45152B #2B4515
tetradic
#152B45 #451543 #452F15 #154517
square
#152B45 #451543 #452F15 #154517
split-complementary
#152B45 #451715 #434515
monochromatic
#070F17 #070F17 #152B45 #234874 #3265A3

Accessibility & contrast

On white

14.35
#152B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#152B45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B45
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B45#FFFFFF#000000##FFFFFF
##152B451.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202D46
Deuteranopia (green-blind)
#192844
Tritanopia (blue-blind)
#003134
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152b45;
/* rgb */ color: rgb(21, 43, 69);
/* oklch */ color: oklch(28.5% 0.056 253.8);
Tailwind
colors: {
  custom: {
    50: '#586479',
    500: '#152b45',
    950: '#000000',
  },
}
SCSS
$custom: #152b45;
$custom-light: #586479;
$custom-dark: #000000;
JSON
{
  "hex": "#152b45",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 69
  },
  "hsl": {
    "h": 212.5,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28508,
    "c": 0.05573,
    "h": 253.8
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#152B45
secondary
#7D5E39
accent
#9A4BDD
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #152B45

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

Preview Lab → · Contrast checker → · Palette generator →

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