#15256B#15256B

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

Color values

HEX#15256B
RGBrgb(21, 37, 107)
HSLhsl(229, 67%, 25%)
HSVhsv(229, 80%, 42%)
CMYKcmyk(80.4%, 65.4%, 0%, 58%)
CIE-LABlab(18.12, 21.24, -42.62)
CIE-LCHlch(18.12, 47.62, 296.48°)
OKLaboklab(30.23% -0.0043 -0.1232)
OKLCHoklch(30.23% 0.123 268)
XYZxyz(3.6237, 2.5437, 14.2071)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15256B #6B5B15
analogous
#15506B #15256B #30156B
triadic
#15256B #6B1525 #256B15
tetradic
#15256B #6B1550 #6B5B15 #156B30
square
#15256B #6B1550 #6B5B15 #156B30
split-complementary
#15256B #6B3015 #506B15
monochromatic
#05091A #0B1338 #15256B #1F379E #2948D1

Accessibility & contrast

On white

13.92
#15256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#15256B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15256B
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15256B#FFFFFF#000000##FFFFFF
##15256B1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15256b;
/* rgb */ color: rgb(21, 37, 107);
/* oklch */ color: oklch(30.2% 0.123 268.0);
Tailwind
colors: {
  custom: {
    50: '#625f96',
    500: '#15256b',
    950: '#000000',
  },
}
SCSS
$custom: #15256b;
$custom-light: #625f96;
$custom-dark: #000000;
JSON
{
  "hex": "#15256b",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 228.837,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30231,
    "c": 0.12329,
    "h": 268
  },
  "luminance": 0.02544
}

Semantic roles & 50–950 ramp

primary
#15256B
secondary
#A28E3A
accent
#CA3EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #15256B

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

Preview Lab → · Contrast checker → · Palette generator →

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