#152074#152074

#152074 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.142 H 269.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#152074
RGBrgb(21, 32, 116)
HSLhsl(233, 69%, 27%)
HSVhsv(233, 82%, 45%)
CMYKcmyk(81.9%, 72.4%, 0%, 54.5%)
CIE-LABlab(17.70, 28.31, -49.12)
CIE-LCHlch(17.70, 56.70, 299.95°)
OKLaboklab(30.21% -0.0018 -0.1423)
OKLCHoklch(30.21% 0.142 269.3)
XYZxyz(3.9771, 2.4530, 16.7835)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152074 #746915
analogous
#155074 #152074 #3A1574
triadic
#152074 #741520 #207415
tetradic
#152074 #741550 #746915 #15743A
square
#152074 #741550 #746915 #15743A
split-complementary
#152074 #743A15 #507415
monochromatic
#05071A #0C1240 #152074 #1E2EA8 #2B3FD9

Accessibility & contrast

On white

14.09
#152074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152074
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152074#FFFFFF#000000##FFFFFF
##1520741.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002772
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152074;
/* rgb */ color: rgb(21, 32, 116);
/* oklch */ color: oklch(30.2% 0.142 269.3);
Tailwind
colors: {
  custom: {
    50: '#655b9d',
    500: '#152074',
    950: '#000000',
  },
}
SCSS
$custom: #152074;
$custom-light: #655b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#152074",
  "rgb": {
    "r": 21,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 233.053,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30206,
    "c": 0.14227,
    "h": 269.3
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#152074
secondary
#AA9D3B
accent
#D83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #152074

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

Preview Lab → · Contrast checker → · Palette generator →

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