#152B41#152B41

#152B41 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.050 H 250.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#152B41
RGBrgb(21, 43, 65)
HSLhsl(210, 51%, 17%)
HSVhsv(210, 68%, 25%)
CMYKcmyk(67.7%, 33.8%, 0%, 74.5%)
CIE-LABlab(16.84, -0.64, -16.53)
CIE-LCHlch(16.84, 16.54, 267.77°)
OKLaboklab(28.25% -0.017 -0.0466)
OKLCHoklch(28.25% 0.05 250)
XYZxyz(2.1269, 2.2686, 5.3258)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B41 #412B15
analogous
#154141 #152B41 #151541
triadic
#152B41 #41152B #2B4115
tetradic
#152B41 #411541 #412B15 #154115
square
#152B41 #411541 #412B15 #154115
split-complementary
#152B41 #411515 #414115
monochromatic
#070F17 #070F17 #152B41 #244A6F #33689E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152B41#FFFFFF#000000##FFFFFF
##152B411.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)
#222C42
Deuteranopia (green-blind)
#1C2841
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152b41;
/* rgb */ color: rgb(21, 43, 65);
/* oklch */ color: oklch(28.3% 0.050 250.0);
Tailwind
colors: {
  custom: {
    50: '#576475',
    500: '#152b41',
    950: '#000000',
  },
}
SCSS
$custom: #152b41;
$custom-light: #576475;
$custom-dark: #000000;
JSON
{
  "hex": "#152b41",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 65
  },
  "hsl": {
    "h": 210,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28252,
    "c": 0.04956,
    "h": 250
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#152B41
secondary
#795939
accent
#944DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152B41

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

Preview Lab → · Contrast checker → · Palette generator →

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