#15264E#15264E

#15264E is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.077 H 264.6°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#15264E
RGBrgb(21, 38, 78)
HSLhsl(222, 58%, 19%)
HSVhsv(222, 73%, 31%)
CMYKcmyk(73.1%, 51.3%, 0%, 69.4%)
CIE-LABlab(15.98, 8.37, -26.79)
CIE-LCHlch(15.98, 28.07, 287.35°)
OKLaboklab(27.86% -0.0072 -0.0767)
OKLCHoklch(27.86% 0.077 264.6)
XYZxyz(2.3770, 2.0955, 7.4854)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15264E #4E3D15
analogous
#15434E #15264E #21154E
triadic
#15264E #4E1526 #264E15
tetradic
#15264E #4E1543 #4E3D15 #154E21
square
#15264E #4E1543 #4E3D15 #154E21
split-complementary
#15264E #4E2115 #434E15
monochromatic
#060C18 #080F1E #15264E #223D7E #2F55AE

Accessibility & contrast

On white

14.80
#15264E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#15264E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15264E
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15264E#FFFFFF#000000##FFFFFF
##15264E1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B4F
Deuteranopia (green-blind)
#07254D
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15264e;
/* rgb */ color: rgb(21, 38, 78);
/* oklch */ color: oklch(27.9% 0.077 264.6);
Tailwind
colors: {
  custom: {
    50: '#5a5f80',
    500: '#15264e',
    950: '#000000',
  },
}
SCSS
$custom: #15264e;
$custom-light: #5a5f80;
$custom-dark: #000000;
JSON
{
  "hex": "#15264e",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 78
  },
  "hsl": {
    "h": 222.105,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27858,
    "c": 0.07701,
    "h": 264.6
  },
  "luminance": 0.02096
}

Semantic roles & 50–950 ramp

primary
#15264E
secondary
#866F39
accent
#B347E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15264E

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

Preview Lab → · Contrast checker → · Palette generator →

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