#15256D#15256D

#15256D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.126 H 268.0°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#15256D
RGBrgb(21, 37, 109)
HSLhsl(229, 68%, 25%)
HSVhsv(229, 81%, 43%)
CMYKcmyk(80.7%, 66.1%, 0%, 57.3%)
CIE-LABlab(18.30, 22.05, -43.61)
CIE-LCHlch(18.30, 48.87, 296.82°)
OKLaboklab(30.43% -0.0043 -0.1261)
OKLCHoklch(30.43% 0.126 268)
XYZxyz(3.7302, 2.5863, 14.7676)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15256D #6D5D15
analogous
#15516D #15256D #31156D
triadic
#15256D #6D1525 #256D15
tetradic
#15256D #6D1551 #6D5D15 #156D31
square
#15256D #6D1551 #6D5D15 #156D31
split-complementary
#15256D #6D3115 #516D15
monochromatic
#05091A #0B143A #15256D #1F36A0 #2948D4

Accessibility & contrast

On white

13.84
#15256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#15256D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15256D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15256D#FFFFFF#000000##FFFFFF
##15256D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15256d;
/* rgb */ color: rgb(21, 37, 109);
/* oklch */ color: oklch(30.4% 0.126 268.0);
Tailwind
colors: {
  custom: {
    50: '#625f98',
    500: '#15256d',
    950: '#000000',
  },
}
SCSS
$custom: #15256d;
$custom-light: #625f98;
$custom-dark: #000000;
JSON
{
  "hex": "#15256d",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 229.091,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30429,
    "c": 0.12619,
    "h": 268
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#15256D
secondary
#A3903A
accent
#CB3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15256D

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

Preview Lab → · Contrast checker → · Palette generator →

#15256D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva