#151A63#151A63

#151A63 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.126 H 271.6°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#151A63
RGBrgb(21, 26, 99)
HSLhsl(236, 65%, 24%)
HSVhsv(236, 79%, 39%)
CMYKcmyk(78.8%, 73.7%, 0%, 61.2%)
CIE-LABlab(14.39, 25.77, -43.47)
CIE-LCHlch(14.39, 50.54, 300.66°)
OKLaboklab(27.26% 0.0036 -0.1258)
OKLCHoklch(27.26% 0.126 271.6)
XYZxyz(2.9300, 1.7988, 11.9947)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A63 #635E15
analogous
#154163 #151A63 #371563
triadic
#151A63 #63151A #1A6315
tetradic
#151A63 #631541 #635E15 #156337
square
#151A63 #631541 #635E15 #156337
split-complementary
#151A63 #633715 #416315
monochromatic
#050719 #0A0D31 #151A63 #202795 #2A35C8

Accessibility & contrast

On white

15.44
#151A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A63
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A63#FFFFFF#000000##FFFFFF
##151A631.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002162
Tritanopia (blue-blind)
#002E3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151a63;
/* rgb */ color: rgb(21, 26, 99);
/* oklch */ color: oklch(27.3% 0.126 271.6);
Tailwind
colors: {
  custom: {
    50: '#615790',
    500: '#151a63',
    950: '#000000',
  },
}
SCSS
$custom: #151a63;
$custom-light: #615790;
$custom-dark: #000000;
JSON
{
  "hex": "#151a63",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 236.154,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27263,
    "c": 0.12583,
    "h": 271.6
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#151A63
secondary
#9A943A
accent
#DD40E8
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #151A63

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

Preview Lab → · Contrast checker → · Palette generator →

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