#151A60#151A60

#151A60 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.122 H 271.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#151A60
RGBrgb(21, 26, 96)
HSLhsl(236, 64%, 23%)
HSVhsv(236, 78%, 38%)
CMYKcmyk(78.1%, 72.9%, 0%, 62.4%)
CIE-LABlab(14.07, 24.60, -42.01)
CIE-LCHlch(14.07, 48.68, 300.35°)
OKLaboklab(26.94% 0.0039 -0.1215)
OKLCHoklch(26.94% 0.122 271.9)
XYZxyz(2.7893, 1.7425, 11.2534)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A60 #605B15
analogous
#153F60 #151A60 #351560
triadic
#151A60 #60151A #1A6015
tetradic
#151A60 #60153F #605B15 #156035
square
#151A60 #60153F #605B15 #156035
split-complementary
#151A60 #603515 #3F6015
monochromatic
#050719 #0A0C2E #151A60 #202892 #2B35C4

Accessibility & contrast

On white

15.57
#151A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#151A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A60
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A60#FFFFFF#000000##FFFFFF
##151A601.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002D3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151a60;
/* rgb */ color: rgb(21, 26, 96);
/* oklch */ color: oklch(26.9% 0.122 271.9);
Tailwind
colors: {
  custom: {
    50: '#60568e',
    500: '#151a60',
    950: '#000000',
  },
}
SCSS
$custom: #151a60;
$custom-light: #60568e;
$custom-dark: #000000;
JSON
{
  "hex": "#151a60",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 96
  },
  "hsl": {
    "h": 236,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26935,
    "c": 0.12156,
    "h": 271.9
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#151A60
secondary
#97913A
accent
#DC41E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #151A60

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

Preview Lab → · Contrast checker → · Palette generator →

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