#151A50#151A50

#151A50 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.3% C 0.098 H 273.1°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#151A50
RGBrgb(21, 26, 80)
HSLhsl(235, 58%, 20%)
HSVhsv(235, 74%, 31%)
CMYKcmyk(73.7%, 67.5%, 0%, 68.6%)
CIE-LABlab(12.46, 18.20, -33.85)
CIE-LCHlch(12.46, 38.43, 298.26°)
OKLaboklab(25.26% 0.0053 -0.0976)
OKLCHoklch(25.26% 0.098 273.1)
XYZxyz(2.1261, 1.4772, 7.7609)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A50 #504B15
analogous
#153850 #151A50 #2D1550
triadic
#151A50 #50151A #1A5015
tetradic
#151A50 #501538 #504B15 #15502D
square
#151A50 #501538 #504B15 #15502D
split-complementary
#151A50 #502D15 #385015
monochromatic
#060818 #080A20 #151A50 #222A80 #2E3AB1

Accessibility & contrast

On white

16.21
#151A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#151A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A50
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A50#FFFFFF#000000##FFFFFF
##151A501.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#001E4F
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151a50;
/* rgb */ color: rgb(21, 26, 80);
/* oklch */ color: oklch(25.3% 0.098 273.1);
Tailwind
colors: {
  custom: {
    50: '#5b5682',
    500: '#151a50',
    950: '#000000',
  },
}
SCSS
$custom: #151a50;
$custom-light: #5b5682;
$custom-dark: #000000;
JSON
{
  "hex": "#151a50",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 234.915,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25264,
    "c": 0.09775,
    "h": 273.1
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#151A50
secondary
#888139
accent
#D446E2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04030A
muted
#79787C

Preview Lab

Preview with #151A50

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

Preview Lab → · Contrast checker → · Palette generator →

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