#26158E#26158E

#26158E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.181 H 275.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#26158E
RGBrgb(38, 21, 142)
HSLhsl(248, 74%, 32%)
HSVhsv(248, 85%, 56%)
CMYKcmyk(73.2%, 85.2%, 0%, 44.3%)
CIE-LABlab(19.64, 44.88, -62.36)
CIE-LCHlch(19.64, 76.83, 305.74°)
OKLaboklab(32.74% 0.0187 -0.1802)
OKLCHoklch(32.74% 0.181 275.9)
XYZxyz(5.9484, 2.9008, 25.8324)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26158E #7D8E15
analogous
#15408E #26158E #63158E
triadic
#26158E #8E2615 #158E26
tetradic
#26158E #8E1540 #7D8E15 #158E63
square
#26158E #8E1540 #7D8E15 #158E63
split-complementary
#26158E #8E6315 #408E15
monochromatic
#090523 #180D59 #26158E #341DC3 #533BE2

Accessibility & contrast

On white

13.29
#26158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#26158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26158E
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26158E#FFFFFF#000000##FFFFFF
##26158E1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#002A8C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26158e;
/* rgb */ color: rgb(38, 21, 142);
/* oklch */ color: oklch(32.7% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#7357b0',
    500: '#26158e',
    950: '#000000',
  },
}
SCSS
$custom: #26158e;
$custom-light: #7357b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26158e",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 248.43,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32744,
    "c": 0.1812,
    "h": 275.9
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#26158E
secondary
#AFC23D
accent
#F137D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #26158E

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

Preview Lab → · Contrast checker → · Palette generator →

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