#151C67#151C67

#151C67 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.1% C 0.129 H 270.8°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#151C67
RGBrgb(21, 28, 103)
HSLhsl(235, 66%, 24%)
HSVhsv(235, 80%, 40%)
CMYKcmyk(79.6%, 72.8%, 0%, 59.6%)
CIE-LABlab(15.32, 25.96, -44.58)
CIE-LCHlch(15.32, 51.59, 300.21°)
OKLaboklab(28.07% 0.0018 -0.129)
OKLCHoklch(28.07% 0.129 270.8)
XYZxyz(3.1719, 1.9689, 13.0422)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C67 #676015
analogous
#154567 #151C67 #371567
triadic
#151C67 #67151C #1C6715
tetradic
#151C67 #671545 #676015 #156737
square
#151C67 #671545 #676015 #156737
split-complementary
#151C67 #673715 #456715
monochromatic
#050719 #0B0E34 #151C67 #1F2A9A #2A38CD

Accessibility & contrast

On white

15.07
#151C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C67
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C67#FFFFFF#000000##FFFFFF
##151C671.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151c67;
/* rgb */ color: rgb(21, 28, 103);
/* oklch */ color: oklch(28.1% 0.129 270.8);
Tailwind
colors: {
  custom: {
    50: '#625893',
    500: '#151c67',
    950: '#000000',
  },
}
SCSS
$custom: #151c67;
$custom-light: #625893;
$custom-dark: #000000;
JSON
{
  "hex": "#151c67",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 234.878,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28065,
    "c": 0.12903,
    "h": 270.8
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#151C67
secondary
#9E953A
accent
#DB3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151C67

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

Preview Lab → · Contrast checker → · Palette generator →

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