#151865#151865

#151865 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.1% C 0.131 H 271.9°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#151865
RGBrgb(21, 24, 101)
HSLhsl(238, 66%, 24%)
HSVhsv(238, 79%, 40%)
CMYKcmyk(79.2%, 76.2%, 0%, 60.4%)
CIE-LABlab(14.13, 27.87, -45.23)
CIE-LCHlch(14.13, 53.13, 301.64°)
OKLaboklab(27.14% 0.0044 -0.1309)
OKLCHoklch(27.14% 0.131 271.9)
XYZxyz(2.9841, 1.7520, 12.4903)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151865 #656215
analogous
#154065 #151865 #3A1565
triadic
#151865 #651518 #186515
tetradic
#151865 #651540 #656215 #15653A
square
#151865 #651540 #656215 #15653A
split-complementary
#151865 #653A15 #406515
monochromatic
#050619 #0A0C32 #151865 #202498 #2A30CA

Accessibility & contrast

On white

15.55
#151865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#151865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151865
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151865#FFFFFF#000000##FFFFFF
##1518651.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #151865;
/* rgb */ color: rgb(21, 24, 101);
/* oklch */ color: oklch(27.1% 0.131 271.9);
Tailwind
colors: {
  custom: {
    50: '#625592',
    500: '#151865',
    950: '#000000',
  },
}
SCSS
$custom: #151865;
$custom-light: #625592;
$custom-dark: #000000;
JSON
{
  "hex": "#151865",
  "rgb": {
    "r": 21,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 237.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27139,
    "c": 0.13098,
    "h": 271.9
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#151865
secondary
#9C983A
accent
#E23FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151865

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

Preview Lab → · Contrast checker → · Palette generator →

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