#152B46#152B46

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

Color values

HEX#152B46
RGBrgb(21, 43, 70)
HSLhsl(213, 54%, 18%)
HSVhsv(213, 70%, 27%)
CMYKcmyk(70%, 38.6%, 0%, 72.5%)
CIE-LABlab(17.13, 1.37, -19.51)
CIE-LCHlch(17.13, 19.55, 274.02°)
OKLaboklab(28.57% -0.0153 -0.0552)
OKLCHoklch(28.57% 0.057 254.5)
XYZxyz(2.2782, 2.3292, 6.1227)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B46 #463015
analogous
#154346 #152B46 #171546
triadic
#152B46 #46152B #2B4615
tetradic
#152B46 #461543 #463015 #154617
square
#152B46 #461543 #463015 #154617
split-complementary
#152B46 #461715 #434615
monochromatic
#070E18 #070E18 #152B46 #234875 #3165A4

Accessibility & contrast

On white

14.33
#152B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B46
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B46#FFFFFF#000000##FFFFFF
##152B461.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152b46;
/* rgb */ color: rgb(21, 43, 70);
/* oklch */ color: oklch(28.6% 0.057 254.5);
Tailwind
colors: {
  custom: {
    50: '#586479',
    500: '#152b46',
    950: '#000000',
  },
}
SCSS
$custom: #152b46;
$custom-light: #586479;
$custom-dark: #000000;
JSON
{
  "hex": "#152b46",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 70
  },
  "hsl": {
    "h": 213.061,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28574,
    "c": 0.0573,
    "h": 254.5
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#152B46
secondary
#7E5F39
accent
#9B4BDD
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #152B46

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

Preview Lab → · Contrast checker → · Palette generator →

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