#151C6B#151C6B

#151C6B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.5% C 0.135 H 270.6°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#151C6B
RGBrgb(21, 28, 107)
HSLhsl(235, 67%, 25%)
HSVhsv(235, 80%, 42%)
CMYKcmyk(80.4%, 73.8%, 0%, 58%)
CIE-LABlab(15.75, 27.52, -46.50)
CIE-LCHlch(15.75, 54.03, 300.62°)
OKLaboklab(28.51% 0.0014 -0.1346)
OKLCHoklch(28.51% 0.135 270.6)
XYZxyz(3.3775, 2.0511, 14.1250)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C6B #6B6415
analogous
#15476B #151C6B #39156B
triadic
#151C6B #6B151C #1C6B15
tetradic
#151C6B #6B1547 #6B6415 #156B39
square
#151C6B #6B1547 #6B6415 #156B39
split-complementary
#151C6B #6B3915 #476B15
monochromatic
#05071A #0B0F38 #151C6B #1F299E #2937D1

Accessibility & contrast

On white

14.89
#151C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C6B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C6B#FFFFFF#000000##FFFFFF
##151C6B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003241
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151c6b;
/* rgb */ color: rgb(21, 28, 107);
/* oklch */ color: oklch(28.5% 0.135 270.6);
Tailwind
colors: {
  custom: {
    50: '#635896',
    500: '#151c6b',
    950: '#000000',
  },
}
SCSS
$custom: #151c6b;
$custom-light: #635896;
$custom-dark: #000000;
JSON
{
  "hex": "#151c6b",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 235.116,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28505,
    "c": 0.13461,
    "h": 270.6
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #151C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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