#15265E#15265E

#15265E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.102 H 267.0°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#15265E
RGBrgb(21, 38, 94)
HSLhsl(226, 63%, 23%)
HSVhsv(226, 78%, 37%)
CMYKcmyk(77.7%, 59.6%, 0%, 63.1%)
CIE-LABlab(17.24, 15.11, -35.50)
CIE-LCHlch(17.24, 38.58, 293.06°)
OKLaboklab(29.22% -0.0053 -0.1023)
OKLCHoklch(29.22% 0.102 267)
XYZxyz(3.0221, 2.3535, 10.8825)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15265E #5E4D15
analogous
#154B5E #15265E #28155E
triadic
#15265E #5E1526 #265E15
tetradic
#15265E #5E154B #5E4D15 #155E28
square
#15265E #5E154B #5E4D15 #155E28
split-complementary
#15265E #5E2815 #4B5E15
monochromatic
#060A19 #0A122C #15265E #203A90 #2B4EC2

Accessibility & contrast

On white

14.28
#15265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15265E
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15265E#FFFFFF#000000##FFFFFF
##15265E1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #15265e;
/* rgb */ color: rgb(21, 38, 94);
/* oklch */ color: oklch(29.2% 0.102 267.0);
Tailwind
colors: {
  custom: {
    50: '#5e5f8c',
    500: '#15265e',
    950: '#000000',
  },
}
SCSS
$custom: #15265e;
$custom-light: #5e5f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#15265e",
  "rgb": {
    "r": 21,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 226.027,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29218,
    "c": 0.10243,
    "h": 267
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#15265E
secondary
#958039
accent
#C041E7
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #15265E

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

Preview Lab → · Contrast checker → · Palette generator →

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