#15285F#15285F

#15285F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.101 H 266.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#15285F
RGBrgb(21, 40, 95)
HSLhsl(225, 64%, 23%)
HSVhsv(225, 78%, 37%)
CMYKcmyk(77.9%, 57.9%, 0%, 62.7%)
CIE-LABlab(17.93, 14.06, -35.05)
CIE-LCHlch(17.93, 37.76, 291.86°)
OKLaboklab(29.76% -0.0071 -0.1009)
OKLCHoklch(29.76% 0.101 266)
XYZxyz(3.1329, 2.5029, 11.1423)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15285F #5F4C15
analogous
#154D5F #15285F #27155F
triadic
#15285F #5F1528 #285F15
tetradic
#15285F #5F154D #5F4C15 #155F27
square
#15285F #5F154D #5F4C15 #155F27
split-complementary
#15285F #5F2715 #4D5F15
monochromatic
#060B19 #0A132D #15285F #203D91 #2B52C3

Accessibility & contrast

On white

13.99
#15285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#15285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15285F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15285F#FFFFFF#000000##FFFFFF
##15285F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #15285f;
/* rgb */ color: rgb(21, 40, 95);
/* oklch */ color: oklch(29.8% 0.101 266.0);
Tailwind
colors: {
  custom: {
    50: '#5e618d',
    500: '#15285f',
    950: '#000000',
  },
}
SCSS
$custom: #15285f;
$custom-light: #5e618d;
$custom-dark: #000000;
JSON
{
  "hex": "#15285f",
  "rgb": {
    "r": 21,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 224.595,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29763,
    "c": 0.10117,
    "h": 266
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#15285F
secondary
#967E3A
accent
#BC41E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #15285F

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

Preview Lab → · Contrast checker → · Palette generator →

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