#26158D#26158D

#26158D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.180 H 276.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#26158D
RGBrgb(38, 21, 141)
HSLhsl(249, 74%, 32%)
HSVhsv(249, 85%, 55%)
CMYKcmyk(73%, 85.1%, 0%, 44.7%)
CIE-LABlab(19.52, 44.58, -61.94)
CIE-LCHlch(19.52, 76.31, 305.74°)
OKLaboklab(32.62% 0.0191 -0.179)
OKLCHoklch(32.62% 0.18 276.1)
XYZxyz(5.8736, 2.8709, 25.4387)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26158D #7C8D15
analogous
#15408D #26158D #62158D
triadic
#26158D #8D2615 #158D26
tetradic
#26158D #8D1540 #7C8D15 #158D62
square
#26158D #8D1540 #7C8D15 #158D62
split-complementary
#26158D #8D6215 #408D15
monochromatic
#090522 #180D58 #26158D #341DC2 #523BE2

Accessibility & contrast

On white

13.34
#26158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#26158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26158D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26158D#FFFFFF#000000##FFFFFF
##26158D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003490
Deuteranopia (green-blind)
#002A8B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26158d;
/* rgb */ color: rgb(38, 21, 141);
/* oklch */ color: oklch(32.6% 0.180 276.1);
Tailwind
colors: {
  custom: {
    50: '#7257b0',
    500: '#26158d',
    950: '#000000',
  },
}
SCSS
$custom: #26158d;
$custom-light: #7257b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26158d",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 248.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.18002,
    "h": 276.1
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

primary
#26158D
secondary
#AEC13D
accent
#F137D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #26158D

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

Preview Lab → · Contrast checker → · Palette generator →

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