#152375#152375

#152375 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.140 H 268.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#152375
RGBrgb(21, 35, 117)
HSLhsl(231, 70%, 27%)
HSVhsv(231, 82%, 46%)
CMYKcmyk(82.1%, 70.1%, 0%, 54.1%)
CIE-LABlab(18.56, 26.66, -48.35)
CIE-LCHlch(18.56, 55.22, 298.87°)
OKLaboklab(30.86% -0.0035 -0.14)
OKLCHoklch(30.86% 0.14 268.6)
XYZxyz(4.1201, 2.6454, 17.1196)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152375 #756715
analogous
#155375 #152375 #371575
triadic
#152375 #751523 #237515
tetradic
#152375 #751553 #756715 #157537
square
#152375 #751553 #756715 #157537
split-complementary
#152375 #753715 #537515
monochromatic
#05081A #0C1341 #152375 #1E33A9 #2B45D9

Accessibility & contrast

On white

13.73
#152375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#152375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152375
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152375#FFFFFF#000000##FFFFFF
##1523751.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #152375;
/* rgb */ color: rgb(21, 35, 117);
/* oklch */ color: oklch(30.9% 0.140 268.6);
Tailwind
colors: {
  custom: {
    50: '#655e9e',
    500: '#152375',
    950: '#000000',
  },
}
SCSS
$custom: #152375;
$custom-light: #655e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#152375",
  "rgb": {
    "r": 21,
    "g": 35,
    "b": 117
  },
  "hsl": {
    "h": 231.25,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30862,
    "c": 0.14004,
    "h": 268.6
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#152375
secondary
#AB9B3B
accent
#D33BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #152375

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

Preview Lab → · Contrast checker → · Palette generator →

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