#15265F#15265F

#15265F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.104 H 267.1°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#15265F
RGBrgb(21, 38, 95)
HSLhsl(226, 64%, 23%)
HSVhsv(226, 78%, 37%)
CMYKcmyk(77.9%, 60%, 0%, 62.7%)
CIE-LABlab(17.33, 15.53, -36.03)
CIE-LCHlch(17.33, 39.23, 293.32°)
OKLaboklab(29.31% -0.0053 -0.1038)
OKLCHoklch(29.31% 0.104 267.1)
XYZxyz(3.0672, 2.3716, 11.1204)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15265F #5F4E15
analogous
#154B5F #15265F #29155F
triadic
#15265F #5F1526 #265F15
tetradic
#15265F #5F154B #5F4E15 #155F29
square
#15265F #5F154B #5F4E15 #155F29
split-complementary
#15265F #5F2915 #4B5F15
monochromatic
#060A19 #0A122D #15265F #203A91 #2B4EC3

Accessibility & contrast

On white

14.24
#15265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#15265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15265F
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15265F#FFFFFF#000000##FFFFFF
##15265F1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E61
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #15265f;
/* rgb */ color: rgb(21, 38, 95);
/* oklch */ color: oklch(29.3% 0.104 267.1);
Tailwind
colors: {
  custom: {
    50: '#5e5f8d',
    500: '#15265f',
    950: '#000000',
  },
}
SCSS
$custom: #15265f;
$custom-light: #5e5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#15265f",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 226.216,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29308,
    "c": 0.10397,
    "h": 267.1
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#15265F
secondary
#96813A
accent
#C141E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15265F

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

Preview Lab → · Contrast checker → · Palette generator →

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