#152B6C#152B6C

#152B6C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.117 H 265.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#152B6C
RGBrgb(21, 43, 108)
HSLhsl(225, 67%, 25%)
HSVhsv(225, 81%, 42%)
CMYKcmyk(80.6%, 60.2%, 0%, 57.6%)
CIE-LABlab(19.92, 17.31, -40.32)
CIE-LCHlch(19.92, 43.88, 293.24°)
OKLaboklab(31.61% -0.0087 -0.1164)
OKLCHoklch(31.61% 0.117 265.7)
XYZxyz(3.8790, 2.9695, 14.5532)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B6C #6C5615
analogous
#15566C #152B6C #2B156C
triadic
#152B6C #6C152B #2B6C15
tetradic
#152B6C #6C1556 #6C5615 #156C2B
square
#152B6C #6C1556 #6C5615 #156C2B
split-complementary
#152B6C #6C2B15 #566C15
monochromatic
#050A1A #0B1739 #152B6C #1F3F9F #2954D2

Accessibility & contrast

On white

13.17
#152B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#152B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B6C
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B6C#FFFFFF#000000##FFFFFF
##152B6C1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#002C6B
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152b6c;
/* rgb */ color: rgb(21, 43, 108);
/* oklch */ color: oklch(31.6% 0.117 265.7);
Tailwind
colors: {
  custom: {
    50: '#626397',
    500: '#152b6c',
    950: '#000000',
  },
}
SCSS
$custom: #152b6c;
$custom-light: #626397;
$custom-dark: #000000;
JSON
{
  "hex": "#152b6c",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 108
  },
  "hsl": {
    "h": 224.828,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31605,
    "c": 0.11671,
    "h": 265.7
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#152B6C
secondary
#A3883A
accent
#BF3DEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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