#152F66#152F66

#152F66 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.0% C 0.102 H 262.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#152F66
RGBrgb(21, 47, 102)
HSLhsl(221, 66%, 24%)
HSVhsv(221, 79%, 40%)
CMYKcmyk(79.4%, 53.9%, 0%, 60%)
CIE-LABlab(20.64, 11.88, -35.26)
CIE-LCHlch(20.64, 37.20, 288.62°)
OKLaboklab(32% -0.0126 -0.1014)
OKLCHoklch(32% 0.102 262.9)
XYZxyz(3.7232, 3.1514, 12.9798)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F66 #664C15
analogous
#155866 #152F66 #241566
triadic
#152F66 #66152F #2F6615
tetradic
#152F66 #661558 #664C15 #156624
square
#152F66 #661558 #664C15 #156624
split-complementary
#152F66 #662415 #586615
monochromatic
#050C19 #0B1833 #152F66 #1F4699 #2A5ECC

Accessibility & contrast

On white

12.88
#152F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#152F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F66
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F66#FFFFFF#000000##FFFFFF
##152F661.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3668
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152f66;
/* rgb */ color: rgb(21, 47, 102);
/* oklch */ color: oklch(32.0% 0.102 262.9);
Tailwind
colors: {
  custom: {
    50: '#606792',
    500: '#152f66',
    950: '#000000',
  },
}
SCSS
$custom: #152f66;
$custom-light: #606792;
$custom-dark: #000000;
JSON
{
  "hex": "#152f66",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 220.741,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31995,
    "c": 0.10219,
    "h": 262.9
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#152F66
secondary
#9D7D3A
accent
#B23FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #152F66

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

Preview Lab → · Contrast checker → · Palette generator →

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