#151C75#151C75

#151C75 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.148 H 270.0°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#151C75
RGBrgb(21, 28, 117)
HSLhsl(236, 70%, 27%)
HSVhsv(236, 82%, 46%)
CMYKcmyk(82.1%, 76.1%, 0%, 54.1%)
CIE-LABlab(16.86, 31.31, -51.16)
CIE-LCHlch(16.86, 59.98, 301.47°)
OKLaboklab(29.63% -0.0001 -0.1482)
OKLCHoklch(29.63% 0.148 270)
XYZxyz(3.9343, 2.2738, 17.0577)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C75 #756E15
analogous
#154C75 #151C75 #3E1575
triadic
#151C75 #75151C #1C7515
tetradic
#151C75 #75154C #756E15 #15753E
square
#151C75 #75154C #756E15 #15753E
split-complementary
#151C75 #753E15 #4C7515
monochromatic
#05061A #0C1041 #151C75 #1E28A9 #2B38D9

Accessibility & contrast

On white

14.43
#151C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#151C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C75
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C75#FFFFFF#000000##FFFFFF
##151C751.0014.431.4514.43
#FFFFFF14.431.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #151c75;
/* rgb */ color: rgb(21, 28, 117);
/* oklch */ color: oklch(29.6% 0.148 270.0);
Tailwind
colors: {
  custom: {
    50: '#66599e',
    500: '#151c75',
    950: '#000000',
  },
}
SCSS
$custom: #151c75;
$custom-light: #66599e;
$custom-dark: #000000;
JSON
{
  "hex": "#151c75",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 117
  },
  "hsl": {
    "h": 235.625,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.14817,
    "h": 270
  },
  "luminance": 0.02274
}

Semantic roles & 50–950 ramp

primary
#151C75
secondary
#ABA33B
accent
#DF3BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151C75

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

Preview Lab → · Contrast checker → · Palette generator →

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