#15256E#15256E

#15256E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.128 H 268.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#15256E
RGBrgb(21, 37, 110)
HSLhsl(229, 68%, 26%)
HSVhsv(229, 81%, 43%)
CMYKcmyk(80.9%, 66.4%, 0%, 56.9%)
CIE-LABlab(18.40, 22.46, -44.10)
CIE-LCHlch(18.40, 49.49, 296.99°)
OKLaboklab(30.53% -0.0043 -0.1276)
OKLCHoklch(30.53% 0.128 268.1)
XYZxyz(3.7843, 2.6079, 15.0528)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15256E #6E5E15
analogous
#15516E #15256E #31156E
triadic
#15256E #6E1525 #256E15
tetradic
#15256E #6E1551 #6E5E15 #156E31
square
#15256E #6E1551 #6E5E15 #156E31
split-complementary
#15256E #6E3115 #516E15
monochromatic
#05091A #0B143B #15256E #1F36A1 #2948D5

Accessibility & contrast

On white

13.80
#15256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15256E
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15256E#FFFFFF#000000##FFFFFF
##15256E1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #15256e;
/* rgb */ color: rgb(21, 37, 110);
/* oklch */ color: oklch(30.5% 0.128 268.1);
Tailwind
colors: {
  custom: {
    50: '#635f98',
    500: '#15256e',
    950: '#000000',
  },
}
SCSS
$custom: #15256e;
$custom-light: #635f98;
$custom-dark: #000000;
JSON
{
  "hex": "#15256e",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 229.213,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30529,
    "c": 0.12763,
    "h": 268.1
  },
  "luminance": 0.02608
}

Semantic roles & 50–950 ramp

primary
#15256E
secondary
#A4913A
accent
#CC3DEB
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #15256E

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

Preview Lab → · Contrast checker → · Palette generator →

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