#151C60#151C60

#151C60 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 27.3% C 0.119 H 271.2°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#151C60
RGBrgb(21, 28, 96)
HSLhsl(234, 64%, 23%)
HSVhsv(234, 78%, 38%)
CMYKcmyk(78.1%, 70.8%, 0%, 62.4%)
CIE-LABlab(14.59, 23.20, -41.16)
CIE-LCHlch(14.59, 47.25, 299.41°)
OKLaboklab(27.31% 0.0026 -0.119)
OKLCHoklch(27.31% 0.119 271.2)
XYZxyz(2.8351, 1.8342, 11.2687)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C60 #605915
analogous
#154160 #151C60 #331560
triadic
#151C60 #60151C #1C6015
tetradic
#151C60 #601541 #605915 #156033
square
#151C60 #601541 #605915 #156033
split-complementary
#151C60 #603315 #416015
monochromatic
#050719 #0A0D2E #151C60 #202B92 #2B39C4

Accessibility & contrast

On white

15.36
#151C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#151C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C60
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C60#FFFFFF#000000##FFFFFF
##151C601.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#002E3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151c60;
/* rgb */ color: rgb(21, 28, 96);
/* oklch */ color: oklch(27.3% 0.119 271.2);
Tailwind
colors: {
  custom: {
    50: '#60588e',
    500: '#151c60',
    950: '#000000',
  },
}
SCSS
$custom: #151c60;
$custom-light: #60588e;
$custom-dark: #000000;
JSON
{
  "hex": "#151c60",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 234.4,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27311,
    "c": 0.11903,
    "h": 271.2
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#151C60
secondary
#978F3A
accent
#D841E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #151C60

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

Preview Lab → · Contrast checker → · Palette generator →

#151C60 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva