#152B6B#152B6B

#152B6B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.115 H 265.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#152B6B
RGBrgb(21, 43, 107)
HSLhsl(225, 67%, 25%)
HSVhsv(225, 80%, 42%)
CMYKcmyk(80.4%, 59.8%, 0%, 58%)
CIE-LABlab(19.84, 16.89, -39.82)
CIE-LCHlch(19.84, 43.25, 292.99°)
OKLaboklab(31.51% -0.0087 -0.1149)
OKLCHoklch(31.51% 0.115 265.7)
XYZxyz(3.8260, 2.9483, 14.2745)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B6B #6B5515
analogous
#15566B #152B6B #2A156B
triadic
#152B6B #6B152B #2B6B15
tetradic
#152B6B #6B1556 #6B5515 #156B2A
square
#152B6B #6B1556 #6B5515 #156B2A
split-complementary
#152B6B #6B2A15 #566B15
monochromatic
#050A1A #0B1638 #152B6B #1F409E #2954D1

Accessibility & contrast

On white

13.21
#152B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152B6B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B6B#FFFFFF#000000##FFFFFF
##152B6B1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152b6b;
/* rgb */ color: rgb(21, 43, 107);
/* oklch */ color: oklch(31.5% 0.115 265.7);
Tailwind
colors: {
  custom: {
    50: '#616396',
    500: '#152b6b',
    950: '#000000',
  },
}
SCSS
$custom: #152b6b;
$custom-light: #616396;
$custom-dark: #000000;
JSON
{
  "hex": "#152b6b",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 224.651,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31514,
    "c": 0.11522,
    "h": 265.7
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#152B6B
secondary
#A2873A
accent
#BE3EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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