#150C53#150C53

#150C53 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 23.1% C 0.119 H 277.3°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#150C53
RGBrgb(21, 12, 83)
HSLhsl(248, 75%, 19%)
HSVhsv(248, 86%, 33%)
CMYKcmyk(74.7%, 85.5%, 0%, 67.5%)
CIE-LABlab(9.37, 28.70, -40.98)
CIE-LCHlch(9.37, 50.03, 305.01°)
OKLaboklab(23.15% 0.0151 -0.1184)
OKLCHoklch(23.15% 0.119 277.3)
XYZxyz(2.0016, 1.0467, 8.2785)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150C53 #4A530C
analogous
#0C2653 #150C53 #380C53
triadic
#150C53 #53150C #0C5315
tetradic
#150C53 #530C26 #4A530C #0C5338
square
#150C53 #530C26 #4A530C #0C5338
split-complementary
#150C53 #53380C #26530C
monochromatic
#07041B #07041E #150C53 #231488 #301BBE

Accessibility & contrast

On white

17.36
#150C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#150C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150C53
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150C53#FFFFFF#000000##FFFFFF
##150C531.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D55
Deuteranopia (green-blind)
#001752
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #150c53;
/* rgb */ color: rgb(21, 12, 83);
/* oklch */ color: oklch(23.1% 0.119 277.3);
Tailwind
colors: {
  custom: {
    50: '#5e4d84',
    500: '#150c53',
    950: '#000000',
  },
}
SCSS
$custom: #150c53;
$custom-light: #5e4d84;
$custom-dark: #000000;
JSON
{
  "hex": "#150c53",
  "rgb": {
    "r": 21,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 247.606,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23145,
    "c": 0.11937,
    "h": 277.3
  },
  "luminance": 0.01047
}

Semantic roles & 50–950 ramp

primary
#150C53
secondary
#828E2D
accent
#F136DA
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #150C53

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

Preview Lab → · Contrast checker → · Palette generator →

#150C53 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva