#152075#152075

#152075 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.144 H 269.2°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#152075
RGBrgb(21, 32, 117)
HSLhsl(233, 70%, 27%)
HSVhsv(233, 82%, 46%)
CMYKcmyk(82.1%, 72.6%, 0%, 54.1%)
CIE-LABlab(17.81, 28.69, -49.59)
CIE-LCHlch(17.81, 57.30, 300.05°)
OKLaboklab(30.32% -0.0019 -0.1436)
OKLCHoklch(30.32% 0.144 269.2)
XYZxyz(4.0356, 2.4763, 17.0915)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152075 #756A15
analogous
#155075 #152075 #3A1575
triadic
#152075 #751520 #207515
tetradic
#152075 #751550 #756A15 #15753A
square
#152075 #751550 #756A15 #15753A
split-complementary
#152075 #753A15 #507515
monochromatic
#05071A #0C1241 #152075 #1E2EA9 #2B3FD9

Accessibility & contrast

On white

14.04
#152075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#152075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152075
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152075#FFFFFF#000000##FFFFFF
##1520751.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152075;
/* rgb */ color: rgb(21, 32, 117);
/* oklch */ color: oklch(30.3% 0.144 269.2);
Tailwind
colors: {
  custom: {
    50: '#655c9e',
    500: '#152075',
    950: '#000000',
  },
}
SCSS
$custom: #152075;
$custom-light: #655c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#152075",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 233.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30315,
    "c": 0.14363,
    "h": 269.2
  },
  "luminance": 0.02477
}

Semantic roles & 50–950 ramp

primary
#152075
secondary
#AB9E3B
accent
#D83BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #152075

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

Preview Lab → · Contrast checker → · Palette generator →

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