#151A75#151A75

#151A75 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.150 H 270.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#151A75
RGBrgb(21, 26, 117)
HSLhsl(237, 70%, 27%)
HSVhsv(237, 82%, 46%)
CMYKcmyk(82.1%, 77.8%, 0%, 54.1%)
CIE-LABlab(16.42, 32.56, -51.90)
CIE-LCHlch(16.42, 61.27, 302.11°)
OKLaboklab(29.32% 0.0008 -0.1503)
OKLCHoklch(29.32% 0.15 270.3)
XYZxyz(3.8884, 2.1821, 17.0424)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151A75 #757015
analogous
#154A75 #151A75 #401575
triadic
#151A75 #75151A #1A7515
tetradic
#151A75 #75154A #757015 #157540
square
#151A75 #75154A #757015 #157540
split-complementary
#151A75 #754015 #4A7515
monochromatic
#05061A #0C0E41 #151A75 #1E26A9 #2B34D9

Accessibility & contrast

On white

14.62
#151A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#151A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151A75
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151A75#FFFFFF#000000##FFFFFF
##151A751.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #151a75;
/* rgb */ color: rgb(21, 26, 117);
/* oklch */ color: oklch(29.3% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#66579e',
    500: '#151a75',
    950: '#000000',
  },
}
SCSS
$custom: #151a75;
$custom-light: #66579e;
$custom-dark: #000000;
JSON
{
  "hex": "#151a75",
  "rgb": {
    "r": 21,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 236.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29315,
    "c": 0.1503,
    "h": 270.3
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#151A75
secondary
#ABA53B
accent
#E33BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151A75

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

Preview Lab → · Contrast checker → · Palette generator →

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