#151C6A#151C6A

#151C6A is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.133 H 270.6°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#151C6A
RGBrgb(21, 28, 106)
HSLhsl(235, 67%, 25%)
HSVhsv(235, 80%, 42%)
CMYKcmyk(80.2%, 73.6%, 0%, 58.4%)
CIE-LABlab(15.64, 27.13, -46.02)
CIE-LCHlch(15.64, 53.42, 300.52°)
OKLaboklab(28.39% 0.0015 -0.1332)
OKLCHoklch(28.39% 0.133 270.6)
XYZxyz(3.3251, 2.0302, 13.8495)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C6A #6A6315
analogous
#15466A #151C6A #39156A
triadic
#151C6A #6A151C #1C6A15
tetradic
#151C6A #6A1546 #6A6315 #156A39
square
#151C6A #6A1546 #6A6315 #156A39
split-complementary
#151C6A #6A3915 #466A15
monochromatic
#05071A #0B0F37 #151C6A #1F299D #2937D0

Accessibility & contrast

On white

14.93
#151C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#151C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C6A
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C6A#FFFFFF#000000##FFFFFF
##151C6A1.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151c6a;
/* rgb */ color: rgb(21, 28, 106);
/* oklch */ color: oklch(28.4% 0.133 270.6);
Tailwind
colors: {
  custom: {
    50: '#625896',
    500: '#151c6a',
    950: '#000000',
  },
}
SCSS
$custom: #151c6a;
$custom-light: #625896;
$custom-dark: #000000;
JSON
{
  "hex": "#151c6a",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 106
  },
  "hsl": {
    "h": 235.059,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28394,
    "c": 0.13323,
    "h": 270.6
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#151C6A
secondary
#A1983A
accent
#DC3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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