#151C65#151C65

#151C65 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.8% C 0.126 H 270.9°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#151C65
RGBrgb(21, 28, 101)
HSLhsl(235, 66%, 24%)
HSVhsv(235, 79%, 40%)
CMYKcmyk(79.2%, 72.3%, 0%, 60.4%)
CIE-LABlab(15.11, 25.18, -43.61)
CIE-LCHlch(15.11, 50.36, 300.00°)
OKLaboklab(27.85% 0.0021 -0.1262)
OKLCHoklch(27.85% 0.126 270.9)
XYZxyz(3.0727, 1.9292, 12.5198)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C65 #655E15
analogous
#154465 #151C65 #361565
triadic
#151C65 #65151C #1C6515
tetradic
#151C65 #651544 #655E15 #156536
square
#151C65 #651544 #655E15 #156536
split-complementary
#151C65 #653615 #446515
monochromatic
#050719 #0A0E32 #151C65 #202A98 #2A38CA

Accessibility & contrast

On white

15.15
#151C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C65
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C65#FFFFFF#000000##FFFFFF
##151C651.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151c65;
/* rgb */ color: rgb(21, 28, 101);
/* oklch */ color: oklch(27.8% 0.126 270.9);
Tailwind
colors: {
  custom: {
    50: '#615892',
    500: '#151c65',
    950: '#000000',
  },
}
SCSS
$custom: #151c65;
$custom-light: #615892;
$custom-dark: #000000;
JSON
{
  "hex": "#151c65",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 234.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27847,
    "c": 0.12621,
    "h": 270.9
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#151C65
secondary
#9C933A
accent
#DA3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151C65

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

Preview Lab → · Contrast checker → · Palette generator →

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