#15285D#15285D

#15285D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.098 H 265.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#15285D
RGBrgb(21, 40, 93)
HSLhsl(224, 63%, 22%)
HSVhsv(224, 77%, 36%)
CMYKcmyk(77.4%, 57%, 0%, 63.5%)
CIE-LABlab(17.77, 13.21, -33.98)
CIE-LCHlch(17.77, 36.46, 291.25°)
OKLaboklab(29.59% -0.0072 -0.0978)
OKLCHoklch(29.59% 0.098 265.8)
XYZxyz(3.0431, 2.4670, 10.6696)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15285D #5D4A15
analogous
#154C5D #15285D #26155D
triadic
#15285D #5D1528 #285D15
tetradic
#15285D #5D154C #5D4A15 #155D26
square
#15285D #5D154C #5D4A15 #155D26
split-complementary
#15285D #5D2615 #4C5D15
monochromatic
#060B19 #0A132B #15285D #203D8F #2C53C1

Accessibility & contrast

On white

14.06
#15285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#15285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15285D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15285D#FFFFFF#000000##FFFFFF
##15285D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032F5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15285d;
/* rgb */ color: rgb(21, 40, 93);
/* oklch */ color: oklch(29.6% 0.098 265.8);
Tailwind
colors: {
  custom: {
    50: '#5e618b',
    500: '#15285d',
    950: '#000000',
  },
}
SCSS
$custom: #15285d;
$custom-light: #5e618b;
$custom-dark: #000000;
JSON
{
  "hex": "#15285d",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 224.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29588,
    "c": 0.09807,
    "h": 265.8
  },
  "luminance": 0.02467
}

Semantic roles & 50–950 ramp

primary
#15285D
secondary
#947C39
accent
#BB42E6
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #15285D

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

Preview Lab → · Contrast checker → · Palette generator →

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