#152C50#152C50

#152C50 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.072 H 259.1°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#152C50
RGBrgb(21, 44, 80)
HSLhsl(217, 58%, 20%)
HSVhsv(217, 74%, 31%)
CMYKcmyk(73.7%, 45%, 0%, 68.6%)
CIE-LABlab(18.10, 4.78, -24.76)
CIE-LCHlch(18.10, 25.22, 280.94°)
OKLaboklab(29.53% -0.0136 -0.0706)
OKLCHoklch(29.53% 0.072 259.1)
XYZxyz(2.6574, 2.5397, 7.9380)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C50 #503915
analogous
#154A50 #152C50 #1B1550
triadic
#152C50 #50152C #2C5015
tetradic
#152C50 #50154A #503915 #15501B
square
#152C50 #50154A #503915 #15501B
split-complementary
#152C50 #501B15 #4A5015
monochromatic
#060D18 #081120 #152C50 #224780 #2E61B1

Accessibility & contrast

On white

13.93
#152C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#152C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C50
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C50#FFFFFF#000000##FFFFFF
##152C501.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2F51
Deuteranopia (green-blind)
#122A4F
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152c50;
/* rgb */ color: rgb(21, 44, 80);
/* oklch */ color: oklch(29.5% 0.072 259.1);
Tailwind
colors: {
  custom: {
    50: '#5a6481',
    500: '#152c50',
    950: '#000000',
  },
}
SCSS
$custom: #152c50;
$custom-light: #5a6481;
$custom-dark: #000000;
JSON
{
  "hex": "#152c50",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 80
  },
  "hsl": {
    "h": 216.61,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29534,
    "c": 0.07191,
    "h": 259.1
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#152C50
secondary
#886939
accent
#A546E2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152C50

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

Preview Lab → · Contrast checker → · Palette generator →

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