#152D50#152D50

#152D50 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.8% C 0.071 H 257.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#152D50
RGBrgb(21, 45, 80)
HSLhsl(216, 58%, 20%)
HSVhsv(216, 74%, 31%)
CMYKcmyk(73.7%, 43.7%, 0%, 68.6%)
CIE-LABlab(18.43, 4.06, -24.23)
CIE-LCHlch(18.43, 24.57, 279.51°)
OKLaboklab(29.79% -0.0148 -0.069)
OKLCHoklch(29.79% 0.071 257.9)
XYZxyz(2.6951, 2.6151, 7.9506)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D50 #503815
analogous
#154B50 #152D50 #1A1550
triadic
#152D50 #50152D #2D5015
tetradic
#152D50 #50154B #503815 #15501A
square
#152D50 #50154B #503815 #15501A
split-complementary
#152D50 #501A15 #4B5015
monochromatic
#060E18 #081220 #152D50 #224880 #2E64B1

Accessibility & contrast

On white

13.79
#152D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#152D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D50
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D50#FFFFFF#000000##FFFFFF
##152D501.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3051
Deuteranopia (green-blind)
#142A4F
Tritanopia (blue-blind)
#00353A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152d50;
/* rgb */ color: rgb(21, 45, 80);
/* oklch */ color: oklch(29.8% 0.071 257.9);
Tailwind
colors: {
  custom: {
    50: '#5a6581',
    500: '#152d50',
    950: '#000000',
  },
}
SCSS
$custom: #152d50;
$custom-light: #5a6581;
$custom-dark: #000000;
JSON
{
  "hex": "#152d50",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 80
  },
  "hsl": {
    "h": 215.593,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29793,
    "c": 0.07059,
    "h": 257.9
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#152D50
secondary
#886839
accent
#A246E2
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152D50

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

Preview Lab → · Contrast checker → · Palette generator →

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