#15255D#15255D

#15255D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.9% C 0.102 H 267.5°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#15255D
RGBrgb(21, 37, 93)
HSLhsl(227, 63%, 22%)
HSVhsv(227, 77%, 36%)
CMYKcmyk(77.4%, 60.2%, 0%, 63.5%)
CIE-LABlab(16.86, 15.43, -35.46)
CIE-LCHlch(16.86, 38.67, 293.52°)
OKLaboklab(28.9% -0.0045 -0.1022)
OKLCHoklch(28.9% 0.102 267.5)
XYZxyz(2.9459, 2.2726, 10.6372)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15255D #5D4D15
analogous
#15495D #15255D #29155D
triadic
#15255D #5D1525 #255D15
tetradic
#15255D #5D1549 #5D4D15 #155D29
square
#15255D #5D1549 #5D4D15 #155D29
split-complementary
#15255D #5D2915 #495D15
monochromatic
#060A19 #0A112B #15255D #20398F #2C4DC1

Accessibility & contrast

On white

14.44
#15255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#15255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15255D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15255D#FFFFFF#000000##FFFFFF
##15255D1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00333D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15255d;
/* rgb */ color: rgb(21, 37, 93);
/* oklch */ color: oklch(28.9% 0.102 267.5);
Tailwind
colors: {
  custom: {
    50: '#5e5f8b',
    500: '#15255d',
    950: '#000000',
  },
}
SCSS
$custom: #15255d;
$custom-light: #5e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15255d",
  "rgb": {
    "r": 21,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 226.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28901,
    "c": 0.1023,
    "h": 267.5
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#15255D
secondary
#948039
accent
#C242E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15255D

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

Preview Lab → · Contrast checker → · Palette generator →

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