#15264F#15264F

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

Color values

HEX#15264F
RGBrgb(21, 38, 79)
HSLhsl(222, 58%, 20%)
HSVhsv(222, 73%, 31%)
CMYKcmyk(73.4%, 51.9%, 0%, 69%)
CIE-LABlab(16.05, 8.79, -27.35)
CIE-LCHlch(16.05, 28.73, 287.82°)
OKLaboklab(27.94% -0.0071 -0.0783)
OKLCHoklch(27.94% 0.079 264.8)
XYZxyz(2.4132, 2.1099, 7.6757)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15264F #4F3E15
analogous
#15434F #15264F #21154F
triadic
#15264F #4F1526 #264F15
tetradic
#15264F #4F1543 #4F3E15 #154F21
square
#15264F #4F1543 #4F3E15 #154F21
split-complementary
#15264F #4F2115 #434F15
monochromatic
#060C18 #080F1F #15264F #223D7F #2F55B0

Accessibility & contrast

On white

14.77
#15264F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15264F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15264F#FFFFFF#000000##FFFFFF
##15264F1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#003036
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15264f;
/* rgb */ color: rgb(21, 38, 79);
/* oklch */ color: oklch(27.9% 0.079 264.8);
Tailwind
colors: {
  custom: {
    50: '#5a5f81',
    500: '#15264f',
    950: '#000000',
  },
}
SCSS
$custom: #15264f;
$custom-light: #5a5f81;
$custom-dark: #000000;
JSON
{
  "hex": "#15264f",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 79
  },
  "hsl": {
    "h": 222.414,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27938,
    "c": 0.07865,
    "h": 264.8
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#15264F
secondary
#877039
accent
#B447E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #15264F

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

Preview Lab → · Contrast checker → · Palette generator →

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