#152575#152575

#152575 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.138 H 268.1°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#152575
RGBrgb(21, 37, 117)
HSLhsl(230, 70%, 27%)
HSVhsv(230, 82%, 46%)
CMYKcmyk(82.1%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.08, 25.28, -47.50)
CIE-LCHlch(19.08, 53.81, 298.02°)
OKLaboklab(31.24% -0.0046 -0.1375)
OKLCHoklch(31.24% 0.138 268.1)
XYZxyz(4.1806, 2.7664, 17.1398)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152575 #756515
analogous
#155575 #152575 #351575
triadic
#152575 #751525 #257515
tetradic
#152575 #751555 #756515 #157535
square
#152575 #751555 #756515 #157535
split-complementary
#152575 #753515 #557515
monochromatic
#05081A #0C1541 #152575 #1E35A9 #2B48D9

Accessibility & contrast

On white

13.52
#152575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152575
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152575#FFFFFF#000000##FFFFFF
##1525751.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152575;
/* rgb */ color: rgb(21, 37, 117);
/* oklch */ color: oklch(31.2% 0.138 268.1);
Tailwind
colors: {
  custom: {
    50: '#655f9e',
    500: '#152575',
    950: '#000000',
  },
}
SCSS
$custom: #152575;
$custom-light: #655f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#152575",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 230,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31241,
    "c": 0.13758,
    "h": 268.1
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#152575
secondary
#AB983B
accent
#CF3BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #152575

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

Preview Lab → · Contrast checker → · Palette generator →

#152575 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva