#152F68#152F68

#152F68 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.105 H 263.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#152F68
RGBrgb(21, 47, 104)
HSLhsl(221, 66%, 25%)
HSVhsv(221, 80%, 41%)
CMYKcmyk(79.8%, 54.8%, 0%, 59.2%)
CIE-LABlab(20.80, 12.72, -36.31)
CIE-LCHlch(20.80, 38.47, 289.31°)
OKLaboklab(32.16% -0.0123 -0.1045)
OKLCHoklch(32.16% 0.105 263.3)
XYZxyz(3.8236, 3.1915, 13.5085)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F68 #684E15
analogous
#155968 #152F68 #251568
triadic
#152F68 #68152F #2F6815
tetradic
#152F68 #681559 #684E15 #156825
square
#152F68 #681559 #684E15 #156825
split-complementary
#152F68 #682515 #596815
monochromatic
#050C19 #0B1835 #152F68 #1F469B #2A5DCE

Accessibility & contrast

On white

12.82
#152F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F68
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F68#FFFFFF#000000##FFFFFF
##152F681.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09366A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003D46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152f68;
/* rgb */ color: rgb(21, 47, 104);
/* oklch */ color: oklch(32.2% 0.105 263.3);
Tailwind
colors: {
  custom: {
    50: '#606794',
    500: '#152f68',
    950: '#000000',
  },
}
SCSS
$custom: #152f68;
$custom-light: #606794;
$custom-dark: #000000;
JSON
{
  "hex": "#152f68",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 104
  },
  "hsl": {
    "h": 221.205,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32162,
    "c": 0.10524,
    "h": 263.3
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#152F68
secondary
#9F7F3A
accent
#B43EE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #152F68

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

Preview Lab → · Contrast checker → · Palette generator →

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