#152B40#152B40

#152B40 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.2% C 0.048 H 248.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#152B40
RGBrgb(21, 43, 64)
HSLhsl(209, 51%, 17%)
HSVhsv(209, 67%, 25%)
CMYKcmyk(67.2%, 32.8%, 0%, 74.9%)
CIE-LABlab(16.78, -1.04, -15.92)
CIE-LCHlch(16.78, 15.96, 266.25°)
OKLaboklab(28.19% -0.0173 -0.0448)
OKLCHoklch(28.19% 0.048 248.8)
XYZxyz(2.0982, 2.2572, 5.1746)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B40 #402A15
analogous
#154040 #152B40 #151640
triadic
#152B40 #40152B #2B4015
tetradic
#152B40 #401540 #402A15 #164015
square
#152B40 #401540 #402A15 #164015
split-complementary
#152B40 #401516 #404015
monochromatic
#080F17 #080F17 #152B40 #244A6E #33699C

Accessibility & contrast

On white

14.47
#152B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B40
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B40#FFFFFF#000000##FFFFFF
##152B401.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#1C2840
Tritanopia (blue-blind)
#003032
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152b40;
/* rgb */ color: rgb(21, 43, 64);
/* oklch */ color: oklch(28.2% 0.048 248.8);
Tailwind
colors: {
  custom: {
    50: '#576475',
    500: '#152b40',
    950: '#000000',
  },
}
SCSS
$custom: #152b40;
$custom-light: #576475;
$custom-dark: #000000;
JSON
{
  "hex": "#152b40",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 209.302,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2819,
    "c": 0.04805,
    "h": 248.8
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#152B40
secondary
#785839
accent
#924EDA
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #152B40

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

Preview Lab → · Contrast checker → · Palette generator →

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