#151C63#151C63

#151C63 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.6% C 0.123 H 271.1°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#151C63
RGBrgb(21, 28, 99)
HSLhsl(235, 65%, 24%)
HSVhsv(235, 79%, 39%)
CMYKcmyk(78.8%, 71.7%, 0%, 61.2%)
CIE-LABlab(14.90, 24.39, -42.64)
CIE-LCHlch(14.90, 49.12, 299.77°)
OKLaboklab(27.63% 0.0023 -0.1233)
OKLCHoklch(27.63% 0.123 271.1)
XYZxyz(2.9759, 1.8905, 12.0100)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151C63 #635C15
analogous
#154363 #151C63 #351563
triadic
#151C63 #63151C #1C6315
tetradic
#151C63 #631543 #635C15 #156335
square
#151C63 #631543 #635C15 #156335
split-complementary
#151C63 #633515 #436315
monochromatic
#050719 #0A0E31 #151C63 #202A95 #2A39C8

Accessibility & contrast

On white

15.24
#151C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151C63
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151C63#FFFFFF#000000##FFFFFF
##151C631.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002F3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151c63;
/* rgb */ color: rgb(21, 28, 99);
/* oklch */ color: oklch(27.6% 0.123 271.1);
Tailwind
colors: {
  custom: {
    50: '#605890',
    500: '#151c63',
    950: '#000000',
  },
}
SCSS
$custom: #151c63;
$custom-light: #605890;
$custom-dark: #000000;
JSON
{
  "hex": "#151c63",
  "rgb": {
    "r": 21,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 234.615,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27631,
    "c": 0.12336,
    "h": 271.1
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#151C63
secondary
#9A913A
accent
#D940E8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #151C63

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

Preview Lab → · Contrast checker → · Palette generator →

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