#152E50#152E50

#152E50 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.069 H 256.7°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#152E50
RGBrgb(21, 46, 80)
HSLhsl(215, 58%, 20%)
HSVhsv(215, 74%, 31%)
CMYKcmyk(73.7%, 42.5%, 0%, 68.6%)
CIE-LABlab(18.77, 3.34, -23.70)
CIE-LCHlch(18.77, 23.93, 278.01°)
OKLaboklab(30.05% -0.016 -0.0674)
OKLCHoklch(30.05% 0.069 256.7)
XYZxyz(2.7337, 2.6923, 7.9635)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E50 #503715
analogous
#154C50 #152E50 #191550
triadic
#152E50 #50152E #2E5015
tetradic
#152E50 #50154C #503715 #155019
square
#152E50 #50154C #503715 #155019
split-complementary
#152E50 #501915 #4C5015
monochromatic
#060E18 #081220 #152E50 #224A80 #2E66B1

Accessibility & contrast

On white

13.65
#152E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#152E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E50
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E50#FFFFFF#000000##FFFFFF
##152E501.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3151
Deuteranopia (green-blind)
#162B4F
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152e50;
/* rgb */ color: rgb(21, 46, 80);
/* oklch */ color: oklch(30.1% 0.069 256.7);
Tailwind
colors: {
  custom: {
    50: '#5a6681',
    500: '#152e50',
    950: '#000000',
  },
}
SCSS
$custom: #152e50;
$custom-light: #5a6681;
$custom-dark: #000000;
JSON
{
  "hex": "#152e50",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 214.576,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.0693,
    "h": 256.7
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#152E50
secondary
#886639
accent
#A046E2
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152E50

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

Preview Lab → · Contrast checker → · Palette generator →

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