#15245D#15245D

#15245D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.104 H 268.0°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#15245D
RGBrgb(21, 36, 93)
HSLhsl(228, 63%, 22%)
HSVhsv(228, 77%, 36%)
CMYKcmyk(77.4%, 61.3%, 0%, 63.5%)
CIE-LABlab(16.56, 16.17, -35.95)
CIE-LCHlch(16.56, 39.42, 294.22°)
OKLaboklab(28.68% -0.0036 -0.1036)
OKLCHoklch(28.68% 0.104 268)
XYZxyz(2.9152, 2.2112, 10.6270)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15245D #5D4E15
analogous
#15485D #15245D #2A155D
triadic
#15245D #5D1524 #245D15
tetradic
#15245D #5D1548 #5D4E15 #155D2A
square
#15245D #5D1548 #5D4E15 #155D2A
split-complementary
#15245D #5D2A15 #485D15
monochromatic
#060A19 #0A112B #15245D #20378F #2C4BC1

Accessibility & contrast

On white

14.56
#15245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#15245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15245D
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15245D#FFFFFF#000000##FFFFFF
##15245D1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #15245d;
/* rgb */ color: rgb(21, 36, 93);
/* oklch */ color: oklch(28.7% 0.104 268.0);
Tailwind
colors: {
  custom: {
    50: '#5e5e8b',
    500: '#15245d',
    950: '#000000',
  },
}
SCSS
$custom: #15245d;
$custom-light: #5e5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#15245d",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 227.5,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28677,
    "c": 0.1037,
    "h": 268
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#15245D
secondary
#948139
accent
#C442E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15245D

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

Preview Lab → · Contrast checker → · Palette generator →

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