#26158A#26158A

#26158A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.176 H 276.5°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#26158A
RGBrgb(38, 21, 138)
HSLhsl(249, 74%, 31%)
HSVhsv(249, 85%, 54%)
CMYKcmyk(72.5%, 84.8%, 0%, 45.9%)
CIE-LABlab(19.15, 43.66, -60.67)
CIE-LCHlch(19.15, 74.75, 305.74°)
OKLaboklab(32.27% 0.02 -0.1753)
OKLCHoklch(32.27% 0.176 276.5)
XYZxyz(5.6534, 2.7828, 24.2790)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26158A #798A15
analogous
#153E8A #26158A #60158A
triadic
#26158A #8A2615 #158A26
tetradic
#26158A #8A153E #798A15 #158A60
square
#26158A #8A153E #798A15 #158A60
split-complementary
#26158A #8A6015 #3E8A15
monochromatic
#090520 #170D55 #26158A #351DBF #5139E1

Accessibility & contrast

On white

13.49
#26158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#26158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26158A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26158A#FFFFFF#000000##FFFFFF
##26158A1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #26158a;
/* rgb */ color: rgb(38, 21, 138);
/* oklch */ color: oklch(32.3% 0.176 276.5);
Tailwind
colors: {
  custom: {
    50: '#7257ad',
    500: '#26158a',
    950: '#000000',
  },
}
SCSS
$custom: #26158a;
$custom-light: #7257ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26158a",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 248.718,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.17647,
    "h": 276.5
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#26158A
secondary
#ABBE3D
accent
#F038D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #26158A

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

Preview Lab → · Contrast checker → · Palette generator →

#26158A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva