#151965#151965

#151965 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.3% C 0.130 H 271.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#151965
RGBrgb(21, 25, 101)
HSLhsl(237, 66%, 24%)
HSVhsv(237, 79%, 40%)
CMYKcmyk(79.2%, 75.2%, 0%, 60.4%)
CIE-LABlab(14.37, 27.21, -44.84)
CIE-LCHlch(14.37, 52.45, 301.25°)
OKLaboklab(27.31% 0.0039 -0.1298)
OKLCHoklch(27.31% 0.13 271.7)
XYZxyz(3.0051, 1.7940, 12.4973)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151965 #656115
analogous
#154165 #151965 #391565
triadic
#151965 #651519 #196515
tetradic
#151965 #651541 #656115 #156539
square
#151965 #651541 #656115 #156539
split-complementary
#151965 #653915 #416515
monochromatic
#050619 #0A0C32 #151965 #202698 #2A32CA

Accessibility & contrast

On white

15.45
#151965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151965
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151965#FFFFFF#000000##FFFFFF
##1519651.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #151965;
/* rgb */ color: rgb(21, 25, 101);
/* oklch */ color: oklch(27.3% 0.130 271.7);
Tailwind
colors: {
  custom: {
    50: '#615692',
    500: '#151965',
    950: '#000000',
  },
}
SCSS
$custom: #151965;
$custom-light: #615692;
$custom-dark: #000000;
JSON
{
  "hex": "#151965",
  "rgb": {
    "r": 21,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 237,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2731,
    "c": 0.12983,
    "h": 271.7
  },
  "luminance": 0.01794
}

Semantic roles & 50–950 ramp

primary
#151965
secondary
#9C973A
accent
#E03FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151965

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

Preview Lab → · Contrast checker → · Palette generator →

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