#152C58#152C58

#152C58 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.085 H 261.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#152C58
RGBrgb(21, 44, 88)
HSLhsl(219, 61%, 21%)
HSVhsv(219, 76%, 35%)
CMYKcmyk(76.1%, 50%, 0%, 65.5%)
CIE-LABlab(18.65, 8.15, -29.24)
CIE-LCHlch(18.65, 30.35, 285.57°)
OKLaboklab(30.14% -0.0119 -0.0838)
OKLCHoklch(30.14% 0.085 261.9)
XYZxyz(2.9708, 2.6651, 9.5885)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C58 #584115
analogous
#154E58 #152C58 #201558
triadic
#152C58 #58152C #2C5815
tetradic
#152C58 #58154E #584115 #155820
square
#152C58 #58154E #584115 #155820
split-complementary
#152C58 #582015 #4E5815
monochromatic
#060C19 #091327 #152C58 #214589 #2D5DBB

Accessibility & contrast

On white

13.70
#152C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#152C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C58
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C58#FFFFFF#000000##FFFFFF
##152C581.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315A
Deuteranopia (green-blind)
#072B57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152c58;
/* rgb */ color: rgb(21, 44, 88);
/* oklch */ color: oklch(30.1% 0.085 261.9);
Tailwind
colors: {
  custom: {
    50: '#5c6487',
    500: '#152c58',
    950: '#000000',
  },
}
SCSS
$custom: #152c58;
$custom-light: #5c6487;
$custom-dark: #000000;
JSON
{
  "hex": "#152c58",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 219.403,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30138,
    "c": 0.0846,
    "h": 261.9
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#152C58
secondary
#907239
accent
#AD43E5
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #152C58

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

Preview Lab → · Contrast checker → · Palette generator →

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