#152B65#152B65

#152B65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.106 H 265.0°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#152B65
RGBrgb(21, 43, 101)
HSLhsl(224, 66%, 24%)
HSVhsv(224, 79%, 40%)
CMYKcmyk(79.2%, 57.4%, 0%, 60.4%)
CIE-LABlab(19.33, 14.38, -36.72)
CIE-LCHlch(19.33, 39.43, 291.38°)
OKLaboklab(30.98% -0.0092 -0.1058)
OKLCHoklch(30.98% 0.106 265)
XYZxyz(3.5213, 2.8264, 12.6694)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B65 #654F15
analogous
#155365 #152B65 #271565
triadic
#152B65 #65152B #2B6515
tetradic
#152B65 #651553 #654F15 #156527
square
#152B65 #651553 #654F15 #156527
split-complementary
#152B65 #652715 #536515
monochromatic
#050B19 #0A1532 #152B65 #204198 #2A56CA

Accessibility & contrast

On white

13.42
#152B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B65
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B65#FFFFFF#000000##FFFFFF
##152B651.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152b65;
/* rgb */ color: rgb(21, 43, 101);
/* oklch */ color: oklch(31.0% 0.106 265.0);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#152b65',
    950: '#000000',
  },
}
SCSS
$custom: #152b65;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#152b65",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 223.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30979,
    "c": 0.10618,
    "h": 265
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#152B65
secondary
#9C813A
accent
#BA3FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152B65

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

Preview Lab → · Contrast checker → · Palette generator →

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