#152676#152676

#152676 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.138 H 267.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#152676
RGBrgb(21, 38, 118)
HSLhsl(229, 70%, 27%)
HSVhsv(229, 82%, 46%)
CMYKcmyk(82.2%, 67.8%, 0%, 53.7%)
CIE-LABlab(19.45, 24.98, -47.55)
CIE-LCHlch(19.45, 53.71, 297.72°)
OKLaboklab(31.54% -0.0053 -0.1376)
OKLCHoklch(31.54% 0.138 267.8)
XYZxyz(4.2713, 2.8532, 17.4616)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152676 #766515
analogous
#155676 #152676 #351576
triadic
#152676 #761526 #267615
tetradic
#152676 #761556 #766515 #157635
square
#152676 #761556 #766515 #157635
split-complementary
#152676 #763515 #567615
monochromatic
#05081A #0C1542 #152676 #1E37AA #2C4AD9

Accessibility & contrast

On white

13.37
#152676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152676
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152676#FFFFFF#000000##FFFFFF
##1526761.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152676;
/* rgb */ color: rgb(21, 38, 118);
/* oklch */ color: oklch(31.5% 0.138 267.8);
Tailwind
colors: {
  custom: {
    50: '#65609e',
    500: '#152676',
    950: '#000000',
  },
}
SCSS
$custom: #152676;
$custom-light: #65609e;
$custom-dark: #000000;
JSON
{
  "hex": "#152676",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 229.485,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31538,
    "c": 0.13773,
    "h": 267.8
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#152676
secondary
#AC983B
accent
#CE3BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #152676

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

Preview Lab → · Contrast checker → · Palette generator →

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