#152F50#152F50

#152F50 is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.068 H 255.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#152F50
RGBrgb(21, 47, 80)
HSLhsl(214, 58%, 20%)
HSVhsv(214, 74%, 31%)
CMYKcmyk(73.7%, 41.3%, 0%, 68.6%)
CIE-LABlab(19.10, 2.62, -23.16)
CIE-LCHlch(19.10, 23.31, 276.45°)
OKLaboklab(30.32% -0.0171 -0.0659)
OKLCHoklch(30.32% 0.068 255.4)
XYZxyz(2.7732, 2.7714, 7.9766)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F50 #503615
analogous
#154D50 #152F50 #181550
triadic
#152F50 #50152F #2F5015
tetradic
#152F50 #50154D #503615 #155018
square
#152F50 #50154D #503615 #155018
split-complementary
#152F50 #501815 #4D5015
monochromatic
#060E18 #081320 #152F50 #224B80 #2E68B1

Accessibility & contrast

On white

13.51
#152F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F50
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F50#FFFFFF#000000##FFFFFF
##152F501.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203151
Deuteranopia (green-blind)
#182C4F
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152f50;
/* rgb */ color: rgb(21, 47, 80);
/* oklch */ color: oklch(30.3% 0.068 255.4);
Tailwind
colors: {
  custom: {
    50: '#5a6781',
    500: '#152f50',
    950: '#000000',
  },
}
SCSS
$custom: #152f50;
$custom-light: #5a6781;
$custom-dark: #000000;
JSON
{
  "hex": "#152f50",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 80
  },
  "hsl": {
    "h": 213.559,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30316,
    "c": 0.06805,
    "h": 255.4
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#152F50
secondary
#886539
accent
#9D46E2
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F50

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

Preview Lab → · Contrast checker → · Palette generator →

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