#151375#151375

#151375 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.157 H 271.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#151375
RGBrgb(21, 19, 117)
HSLhsl(241, 72%, 27%)
HSVhsv(241, 84%, 46%)
CMYKcmyk(82.1%, 83.8%, 0%, 54.1%)
CIE-LABlab(15.00, 36.61, -54.23)
CIE-LCHlch(15.00, 65.44, 304.02°)
OKLaboklab(28.32% 0.0032 -0.157)
OKLCHoklch(28.32% 0.157 271.2)
XYZxyz(3.7519, 1.9091, 16.9969)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151375 #737513
analogous
#134275 #151375 #461375
triadic
#151375 #751513 #137515
tetradic
#151375 #751342 #737513 #137546
square
#151375 #751342 #737513 #137546
split-complementary
#151375 #754613 #427513
monochromatic
#05041A #0C0A40 #151375 #1E1CAA #2A27DC

Accessibility & contrast

On white

15.20
#151375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#151375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151375
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151375#FFFFFF#000000##FFFFFF
##1513751.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151375;
/* rgb */ color: rgb(21, 19, 117);
/* oklch */ color: oklch(28.3% 0.157 271.2);
Tailwind
colors: {
  custom: {
    50: '#67539e',
    500: '#151375',
    950: '#000000',
  },
}
SCSS
$custom: #151375;
$custom-light: #67539e;
$custom-dark: #000000;
JSON
{
  "hex": "#151375",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 241.224,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28321,
    "c": 0.15702,
    "h": 271.2
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#151375
secondary
#A9AB38
accent
#EF39EB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151375

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

Preview Lab → · Contrast checker → · Palette generator →

#151375 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva