#152B60#152B60

#152B60 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.099 H 264.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#152B60
RGBrgb(21, 43, 96)
HSLhsl(222, 64%, 23%)
HSVhsv(222, 78%, 38%)
CMYKcmyk(78.1%, 55.2%, 0%, 62.4%)
CIE-LABlab(18.93, 12.27, -34.08)
CIE-LCHlch(18.93, 36.22, 289.80°)
OKLaboklab(30.55% -0.0097 -0.098)
OKLCHoklch(30.55% 0.099 264.3)
XYZxyz(3.2837, 2.7314, 11.4182)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B60 #604A15
analogous
#155060 #152B60 #241560
triadic
#152B60 #60152B #2B6015
tetradic
#152B60 #601550 #604A15 #156024
square
#152B60 #601550 #604A15 #156024
split-complementary
#152B60 #602415 #506015
monochromatic
#050B19 #0A152E #152B60 #204192 #2B58C4

Accessibility & contrast

On white

13.58
#152B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B60
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B60#FFFFFF#000000##FFFFFF
##152B601.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093262
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152b60;
/* rgb */ color: rgb(21, 43, 96);
/* oklch */ color: oklch(30.5% 0.099 264.3);
Tailwind
colors: {
  custom: {
    50: '#5e638e',
    500: '#152b60',
    950: '#000000',
  },
}
SCSS
$custom: #152b60;
$custom-light: #5e638e;
$custom-dark: #000000;
JSON
{
  "hex": "#152b60",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 222.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30548,
    "c": 0.09851,
    "h": 264.3
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#152B60
secondary
#977C3A
accent
#B641E7
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152B60

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

Preview Lab → · Contrast checker → · Palette generator →

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