#150F76#150F76

#150F76 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.161 H 271.4°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#150F76
RGBrgb(21, 15, 118)
HSLhsl(243, 77%, 26%)
HSVhsv(243, 87%, 46%)
CMYKcmyk(82.2%, 87.3%, 0%, 53.7%)
CIE-LABlab(14.45, 38.95, -55.80)
CIE-LCHlch(14.45, 68.05, 304.92°)
OKLaboklab(27.98% 0.004 -0.1614)
OKLCHoklch(27.98% 0.161 271.4)
XYZxyz(3.7490, 1.8087, 17.2875)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150F76 #70760F
analogous
#0F3C76 #150F76 #480F76
triadic
#150F76 #76150F #0F7615
tetradic
#150F76 #760F3C #70760F #0F7648
square
#150F76 #760F3C #70760F #0F7648
split-complementary
#150F76 #76480F #3C760F
monochromatic
#05031B #0B0840 #150F76 #1F16AC #291DE2

Accessibility & contrast

On white

15.42
#150F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#150F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150F76
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150F76#FFFFFF#000000##FFFFFF
##150F761.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002979
Deuteranopia (green-blind)
#001F74
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #150f76;
/* rgb */ color: rgb(21, 15, 118);
/* oklch */ color: oklch(28.0% 0.161 271.4);
Tailwind
colors: {
  custom: {
    50: '#67519f',
    500: '#150f76',
    950: '#000000',
  },
}
SCSS
$custom: #150f76;
$custom-light: #67519f;
$custom-dark: #000000;
JSON
{
  "hex": "#150f76",
  "rgb": {
    "r": 21,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 243.495,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27975,
    "c": 0.16149,
    "h": 271.4
  },
  "luminance": 0.01809
}

Semantic roles & 50–950 ramp

primary
#150F76
secondary
#A6AD33
accent
#F434E9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #150F76

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

Preview Lab → · Contrast checker → · Palette generator →

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