#152076#152076

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

Color values

HEX#152076
RGBrgb(21, 32, 118)
HSLhsl(233, 70%, 27%)
HSVhsv(233, 82%, 46%)
CMYKcmyk(82.2%, 72.9%, 0%, 53.7%)
CIE-LABlab(17.92, 29.08, -50.06)
CIE-LCHlch(17.92, 57.89, 300.15°)
OKLaboklab(30.43% -0.002 -0.145)
OKLCHoklch(30.43% 0.145 269.2)
XYZxyz(4.0947, 2.5000, 17.4028)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152076 #766B15
analogous
#155176 #152076 #3B1576
triadic
#152076 #761520 #207615
tetradic
#152076 #761551 #766B15 #15763B
square
#152076 #761551 #766B15 #15763B
split-complementary
#152076 #763B15 #517615
monochromatic
#05071A #0C1242 #152076 #1E2EAA #2C40D9

Accessibility & contrast

On white

14.00
#152076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152076
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152076#FFFFFF#000000##FFFFFF
##1520761.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152076;
/* rgb */ color: rgb(21, 32, 118);
/* oklch */ color: oklch(30.4% 0.145 269.2);
Tailwind
colors: {
  custom: {
    50: '#655c9e',
    500: '#152076',
    950: '#000000',
  },
}
SCSS
$custom: #152076;
$custom-light: #655c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#152076",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 233.196,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30425,
    "c": 0.14499,
    "h": 269.2
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#152076
secondary
#AC9F3B
accent
#D83BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #152076

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

Preview Lab → · Contrast checker → · Palette generator →

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