#151C69#151C69

#151C69 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.132 H 270.7°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#151C69
RGBrgb(21, 28, 105)
HSLhsl(235, 67%, 25%)
HSVhsv(235, 80%, 41%)
CMYKcmyk(80%, 73.3%, 0%, 58.8%)
CIE-LABlab(15.54, 26.74, -45.54)
CIE-LCHlch(15.54, 52.81, 300.42°)
OKLaboklab(28.28% 0.0016 -0.1318)
OKLCHoklch(28.28% 0.132 270.7)
XYZxyz(3.2734, 2.0095, 13.5772)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C69 #696215
analogous
#154669 #151C69 #381569
triadic
#151C69 #69151C #1C6915
tetradic
#151C69 #691546 #696215 #156938
square
#151C69 #691546 #696215 #156938
split-complementary
#151C69 #693815 #466915
monochromatic
#05071A #0B0E36 #151C69 #1F2A9C #2937CF

Accessibility & contrast

On white

14.98
#151C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#151C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C69
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C69#FFFFFF#000000##FFFFFF
##151C691.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#003140
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151c69;
/* rgb */ color: rgb(21, 28, 105);
/* oklch */ color: oklch(28.3% 0.132 270.7);
Tailwind
colors: {
  custom: {
    50: '#625895',
    500: '#151c69',
    950: '#000000',
  },
}
SCSS
$custom: #151c69;
$custom-light: #625895;
$custom-dark: #000000;
JSON
{
  "hex": "#151c69",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 105
  },
  "hsl": {
    "h": 235,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28284,
    "c": 0.13183,
    "h": 270.7
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#151C69
secondary
#A0973A
accent
#DB3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151C69

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

Preview Lab → · Contrast checker → · Palette generator →

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