#15245E#15245E

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

Color values

HEX#15245E
RGBrgb(21, 36, 94)
HSLhsl(228, 63%, 23%)
HSVhsv(228, 78%, 37%)
CMYKcmyk(77.7%, 61.7%, 0%, 63.1%)
CIE-LABlab(16.65, 16.59, -36.47)
CIE-LCHlch(16.65, 40.07, 294.46°)
OKLaboklab(28.77% -0.0036 -0.1052)
OKLCHoklch(28.77% 0.105 268)
XYZxyz(2.9598, 2.2290, 10.8618)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15245E #5E4F15
analogous
#15495E #15245E #2A155E
triadic
#15245E #5E1524 #245E15
tetradic
#15245E #5E1549 #5E4F15 #155E2A
square
#15245E #5E1549 #5E4F15 #155E2A
split-complementary
#15245E #5E2A15 #495E15
monochromatic
#060A19 #0A112C #15245E #203790 #2B4AC2

Accessibility & contrast

On white

14.52
#15245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#15245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15245E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15245E#FFFFFF#000000##FFFFFF
##15245E1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15245e;
/* rgb */ color: rgb(21, 36, 94);
/* oklch */ color: oklch(28.8% 0.105 268.0);
Tailwind
colors: {
  custom: {
    50: '#5e5e8c',
    500: '#15245e',
    950: '#000000',
  },
}
SCSS
$custom: #15245e;
$custom-light: #5e5e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#15245e",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 227.671,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2877,
    "c": 0.10524,
    "h": 268
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#15245E
secondary
#958239
accent
#C541E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15245E

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

Preview Lab → · Contrast checker → · Palette generator →

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