#151075#151075

#151075 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.160 H 271.4°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#151075
RGBrgb(21, 16, 117)
HSLhsl(243, 76%, 26%)
HSVhsv(243, 86%, 46%)
CMYKcmyk(82.1%, 86.3%, 0%, 54.1%)
CIE-LABlab(14.48, 38.15, -55.10)
CIE-LCHlch(14.48, 67.02, 304.69°)
OKLaboklab(27.96% 0.004 -0.1594)
OKLCHoklch(27.96% 0.16 271.4)
XYZxyz(3.7044, 1.8140, 16.9811)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151075 #707510
analogous
#103D75 #151075 #471075
triadic
#151075 #751510 #107515
tetradic
#151075 #75103D #707510 #107547
square
#151075 #75103D #707510 #107547
split-complementary
#151075 #754710 #3D7510
monochromatic
#05041B #0B093F #151075 #1F17AB #291FE0

Accessibility & contrast

On white

15.41
#151075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#151075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151075
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151075#FFFFFF#000000##FFFFFF
##1510751.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002978
Deuteranopia (green-blind)
#001F73
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #151075;
/* rgb */ color: rgb(21, 16, 117);
/* oklch */ color: oklch(28.0% 0.160 271.4);
Tailwind
colors: {
  custom: {
    50: '#67529e',
    500: '#151075',
    950: '#000000',
  },
}
SCSS
$custom: #151075;
$custom-light: #67529e;
$custom-dark: #000000;
JSON
{
  "hex": "#151075",
  "rgb": {
    "r": 21,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 242.97,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27957,
    "c": 0.1595,
    "h": 271.4
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#151075
secondary
#A6AC35
accent
#F335E9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E

Preview Lab

Preview with #151075

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

Preview Lab → · Contrast checker → · Palette generator →

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