#151C6D#151C6D

#151C6D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.137 H 270.5°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#151C6D
RGBrgb(21, 28, 109)
HSLhsl(235, 68%, 25%)
HSVhsv(235, 81%, 43%)
CMYKcmyk(80.7%, 74.3%, 0%, 57.3%)
CIE-LABlab(15.97, 28.28, -47.44)
CIE-LCHlch(15.97, 55.23, 300.80°)
OKLaboklab(28.73% 0.0011 -0.1374)
OKLCHoklch(28.73% 0.137 270.5)
XYZxyz(3.4839, 2.0937, 14.6855)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C6D #6D6615
analogous
#15486D #151C6D #3A156D
triadic
#151C6D #6D151C #1C6D15
tetradic
#151C6D #6D1548 #6D6615 #156D3A
square
#151C6D #6D1548 #6D6615 #156D3A
split-complementary
#151C6D #6D3A15 #486D15
monochromatic
#05071A #0B0F3A #151C6D #1F29A0 #2936D4

Accessibility & contrast

On white

14.80
#151C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#151C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C6D
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C6D#FFFFFF#000000##FFFFFF
##151C6D1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151c6d;
/* rgb */ color: rgb(21, 28, 109);
/* oklch */ color: oklch(28.7% 0.137 270.5);
Tailwind
colors: {
  custom: {
    50: '#635898',
    500: '#151c6d',
    950: '#000000',
  },
}
SCSS
$custom: #151c6d;
$custom-light: #635898;
$custom-dark: #000000;
JSON
{
  "hex": "#151c6d",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 235.227,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28728,
    "c": 0.13736,
    "h": 270.5
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#151C6D
secondary
#A39B3A
accent
#DD3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #151C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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