#152C60#152C60

#152C60 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.097 H 263.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#152C60
RGBrgb(21, 44, 96)
HSLhsl(222, 64%, 23%)
HSVhsv(222, 78%, 38%)
CMYKcmyk(78.1%, 54.2%, 0%, 62.4%)
CIE-LABlab(19.25, 11.53, -33.58)
CIE-LCHlch(19.25, 35.51, 288.95°)
OKLaboklab(30.79% -0.0106 -0.0965)
OKLCHoklch(30.79% 0.097 263.7)
XYZxyz(3.3205, 2.8050, 11.4305)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C60 #604915
analogous
#155160 #152C60 #231560
triadic
#152C60 #60152C #2C6015
tetradic
#152C60 #601551 #604915 #156023
square
#152C60 #601551 #604915 #156023
split-complementary
#152C60 #602315 #516015
monochromatic
#050C19 #0A152E #152C60 #204392 #2B5AC4

Accessibility & contrast

On white

13.45
#152C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C60
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C60#FFFFFF#000000##FFFFFF
##152C601.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3262
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152c60;
/* rgb */ color: rgb(21, 44, 96);
/* oklch */ color: oklch(30.8% 0.097 263.7);
Tailwind
colors: {
  custom: {
    50: '#5e648e',
    500: '#152c60',
    950: '#000000',
  },
}
SCSS
$custom: #152c60;
$custom-light: #5e648e;
$custom-dark: #000000;
JSON
{
  "hex": "#152c60",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 221.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30785,
    "c": 0.09711,
    "h": 263.7
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#152C60
secondary
#977B3A
accent
#B441E7
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152C60

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

Preview Lab → · Contrast checker → · Palette generator →

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