#152B50#152B50

#152B50 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.073 H 260.2°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#152B50
RGBrgb(21, 43, 80)
HSLhsl(218, 58%, 20%)
HSVhsv(218, 74%, 31%)
CMYKcmyk(73.7%, 46.2%, 0%, 68.6%)
CIE-LABlab(17.76, 5.51, -25.29)
CIE-LCHlch(17.76, 25.89, 282.30°)
OKLaboklab(29.28% -0.0125 -0.0722)
OKLCHoklch(29.28% 0.073 260.2)
XYZxyz(2.6206, 2.4661, 7.9258)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B50 #503A15
analogous
#154950 #152B50 #1C1550
triadic
#152B50 #50152B #2B5015
tetradic
#152B50 #501549 #503A15 #15501C
square
#152B50 #501549 #503A15 #15501C
split-complementary
#152B50 #501C15 #495015
monochromatic
#060D18 #081120 #152B50 #224580 #2E5FB1

Accessibility & contrast

On white

14.06
#152B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B50
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B50#FFFFFF#000000##FFFFFF
##152B501.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E51
Deuteranopia (green-blind)
#10294F
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152b50;
/* rgb */ color: rgb(21, 43, 80);
/* oklch */ color: oklch(29.3% 0.073 260.2);
Tailwind
colors: {
  custom: {
    50: '#5a6381',
    500: '#152b50',
    950: '#000000',
  },
}
SCSS
$custom: #152b50;
$custom-light: #5a6381;
$custom-dark: #000000;
JSON
{
  "hex": "#152b50",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 80
  },
  "hsl": {
    "h": 217.627,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29276,
    "c": 0.07326,
    "h": 260.2
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#152B50
secondary
#886A39
accent
#A846E2
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #152B50

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

Preview Lab → · Contrast checker → · Palette generator →

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