#152C53#152C53

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

Color values

HEX#152C53
RGBrgb(21, 44, 83)
HSLhsl(218, 60%, 20%)
HSVhsv(218, 75%, 33%)
CMYKcmyk(74.7%, 47%, 0%, 67.5%)
CIE-LABlab(18.30, 6.04, -26.46)
CIE-LCHlch(18.30, 27.14, 282.86°)
OKLaboklab(29.76% -0.0129 -0.0756)
OKLCHoklch(29.76% 0.077 260.3)
XYZxyz(2.7707, 2.5850, 8.5349)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C53 #533C15
analogous
#154B53 #152C53 #1D1553
triadic
#152C53 #53152C #2C5315
tetradic
#152C53 #53154B #533C15 #15531D
square
#152C53 #53154B #533C15 #15531D
split-complementary
#152C53 #531D15 #4B5315
monochromatic
#060D18 #091222 #152C53 #214684 #2E60B5

Accessibility & contrast

On white

13.84
#152C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152C53
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C53#FFFFFF#000000##FFFFFF
##152C531.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193055
Deuteranopia (green-blind)
#0F2A52
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152c53;
/* rgb */ color: rgb(21, 44, 83);
/* oklch */ color: oklch(29.8% 0.077 260.3);
Tailwind
colors: {
  custom: {
    50: '#5b6483',
    500: '#152c53',
    950: '#000000',
  },
}
SCSS
$custom: #152c53;
$custom-light: #5b6483;
$custom-dark: #000000;
JSON
{
  "hex": "#152c53",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 83
  },
  "hsl": {
    "h": 217.742,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29755,
    "c": 0.07668,
    "h": 260.3
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#152C53
secondary
#8B6C39
accent
#A845E3
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152C53

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

Preview Lab → · Contrast checker → · Palette generator →

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