#152F45#152F45

#152F45 is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.6% C 0.051 H 246.2°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#152F45
RGBrgb(21, 47, 69)
HSLhsl(208, 53%, 18%)
HSVhsv(208, 70%, 27%)
CMYKcmyk(69.6%, 31.9%, 0%, 72.9%)
CIE-LABlab(18.46, -1.86, -16.73)
CIE-LCHlch(18.46, 16.83, 263.66°)
OKLaboklab(29.6% -0.0207 -0.0471)
OKLCHoklch(29.6% 0.051 246.2)
XYZxyz(2.3996, 2.6219, 6.0087)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F45 #452B15
analogous
#154543 #152F45 #151745
triadic
#152F45 #45152F #2F4515
tetradic
#152F45 #431545 #452B15 #174515
square
#152F45 #431545 #452B15 #174515
split-complementary
#152F45 #451517 #454315
monochromatic
#071017 #071017 #152F45 #234F74 #326FA3

Accessibility & contrast

On white

13.78
#152F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F45
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F45#FFFFFF#000000##FFFFFF
##152F451.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253046
Deuteranopia (green-blind)
#1F2B45
Tritanopia (blue-blind)
#003437
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152f45;
/* rgb */ color: rgb(21, 47, 69);
/* oklch */ color: oklch(29.6% 0.051 246.2);
Tailwind
colors: {
  custom: {
    50: '#586778',
    500: '#152f45',
    950: '#000000',
  },
}
SCSS
$custom: #152f45;
$custom-light: #586778;
$custom-dark: #000000;
JSON
{
  "hex": "#152f45",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 207.5,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29602,
    "c": 0.05148,
    "h": 246.2
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#152F45
secondary
#7D5839
accent
#8E4BDD
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030609
muted
#787A7B

Preview Lab

Preview with #152F45

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

Preview Lab → · Contrast checker → · Palette generator →

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