#151975#151975

#151975 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.151 H 270.4°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#151975
RGBrgb(21, 25, 117)
HSLhsl(238, 70%, 27%)
HSVhsv(238, 82%, 46%)
CMYKcmyk(82.1%, 78.6%, 0%, 54.1%)
CIE-LABlab(16.20, 33.18, -52.25)
CIE-LCHlch(16.20, 61.90, 302.41°)
OKLaboklab(29.16% 0.0012 -0.1513)
OKLCHoklch(29.16% 0.151 270.4)
XYZxyz(3.8667, 2.1386, 17.0352)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151975 #757115
analogous
#154975 #151975 #411575
triadic
#151975 #751519 #197515
tetradic
#151975 #751549 #757115 #157541
square
#151975 #751549 #757115 #157541
split-complementary
#151975 #754115 #497515
monochromatic
#05061A #0C0E41 #151975 #1E24A9 #2B33D9

Accessibility & contrast

On white

14.71
#151975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#151975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151975
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151975#FFFFFF#000000##FFFFFF
##1519751.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002373
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151975;
/* rgb */ color: rgb(21, 25, 117);
/* oklch */ color: oklch(29.2% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#66579e',
    500: '#151975',
    950: '#000000',
  },
}
SCSS
$custom: #151975;
$custom-light: #66579e;
$custom-dark: #000000;
JSON
{
  "hex": "#151975",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 237.5,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29161,
    "c": 0.15134,
    "h": 270.4
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#151975
secondary
#ABA63B
accent
#E53BEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #151975

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

Preview Lab → · Contrast checker → · Palette generator →

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