#15256A#15256A

#15256A is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.122 H 268.0°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#15256A
RGBrgb(21, 37, 106)
HSLhsl(229, 67%, 25%)
HSVhsv(229, 80%, 42%)
CMYKcmyk(80.2%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.02, 20.83, -42.12)
CIE-LCHlch(18.02, 46.99, 296.31°)
OKLaboklab(30.13% -0.0042 -0.1218)
OKLCHoklch(30.13% 0.122 268)
XYZxyz(3.5714, 2.5228, 13.9316)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15256A #6A5A15
analogous
#154F6A #15256A #30156A
triadic
#15256A #6A1525 #256A15
tetradic
#15256A #6A154F #6A5A15 #156A30
square
#15256A #6A154F #6A5A15 #156A30
split-complementary
#15256A #6A3015 #4F6A15
monochromatic
#05091A #0B1337 #15256A #1F379D #2949D0

Accessibility & contrast

On white

13.96
#15256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#15256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15256A
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15256A#FFFFFF#000000##FFFFFF
##15256A1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15256a;
/* rgb */ color: rgb(21, 37, 106);
/* oklch */ color: oklch(30.1% 0.122 268.0);
Tailwind
colors: {
  custom: {
    50: '#625f95',
    500: '#15256a',
    950: '#000000',
  },
}
SCSS
$custom: #15256a;
$custom-light: #625f95;
$custom-dark: #000000;
JSON
{
  "hex": "#15256a",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 228.706,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30133,
    "c": 0.12183,
    "h": 268
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#15256A
secondary
#A18D3A
accent
#C93EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15256A

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

Preview Lab → · Contrast checker → · Palette generator →

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