#151C6E#151C6E

#151C6E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.139 H 270.4°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#151C6E
RGBrgb(21, 28, 110)
HSLhsl(235, 68%, 26%)
HSVhsv(235, 81%, 43%)
CMYKcmyk(80.9%, 74.5%, 0%, 56.9%)
CIE-LABlab(16.08, 28.67, -47.91)
CIE-LCHlch(16.08, 55.83, 300.89°)
OKLaboklab(28.84% 0.001 -0.1387)
OKLCHoklch(28.84% 0.139 270.4)
XYZxyz(3.5380, 2.1153, 14.9707)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C6E #6E6715
analogous
#15486E #151C6E #3A156E
triadic
#151C6E #6E151C #1C6E15
tetradic
#151C6E #6E1548 #6E6715 #156E3A
square
#151C6E #6E1548 #6E6715 #156E3A
split-complementary
#151C6E #6E3A15 #486E15
monochromatic
#05071A #0B0F3B #151C6E #1F29A1 #2936D5

Accessibility & contrast

On white

14.76
#151C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151C6E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C6E#FFFFFF#000000##FFFFFF
##151C6E1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00246D
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151c6e;
/* rgb */ color: rgb(21, 28, 110);
/* oklch */ color: oklch(28.8% 0.139 270.4);
Tailwind
colors: {
  custom: {
    50: '#645899',
    500: '#151c6e',
    950: '#000000',
  },
}
SCSS
$custom: #151c6e;
$custom-light: #645899;
$custom-dark: #000000;
JSON
{
  "hex": "#151c6e",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 235.281,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.2884,
    "c": 0.13873,
    "h": 270.4
  },
  "luminance": 0.02116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #151C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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