#26158F#26158F

#26158F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.9% C 0.182 H 275.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#26158F
RGBrgb(38, 21, 143)
HSLhsl(248, 74%, 32%)
HSVhsv(248, 85%, 56%)
CMYKcmyk(73.4%, 85.3%, 0%, 43.9%)
CIE-LABlab(19.77, 45.19, -62.78)
CIE-LCHlch(19.77, 77.35, 305.75°)
OKLaboklab(32.86% 0.0184 -0.1814)
OKLCHoklch(32.86% 0.182 275.8)
XYZxyz(6.0238, 2.9310, 26.2296)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26158F #7E8F15
analogous
#15418F #26158F #63158F
triadic
#26158F #8F2615 #158F26
tetradic
#26158F #8F1541 #7E8F15 #158F63
square
#26158F #8F1541 #7E8F15 #158F63
split-complementary
#26158F #8F6315 #418F15
monochromatic
#0A0524 #180D5A #26158F #341DC4 #533CE2

Accessibility & contrast

On white

13.24
#26158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#26158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26158F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26158F#FFFFFF#000000##FFFFFF
##26158F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26158f;
/* rgb */ color: rgb(38, 21, 143);
/* oklch */ color: oklch(32.9% 0.182 275.8);
Tailwind
colors: {
  custom: {
    50: '#7358b1',
    500: '#26158f',
    950: '#000000',
  },
}
SCSS
$custom: #26158f;
$custom-light: #7358b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26158f",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 248.361,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32864,
    "c": 0.18237,
    "h": 275.8
  },
  "luminance": 0.02932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26158F

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

Preview Lab → · Contrast checker → · Palette generator →

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