#26159E#26159E

#26159E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.7% C 0.200 H 274.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#26159E
RGBrgb(38, 21, 158)
HSLhsl(247, 77%, 35%)
HSVhsv(247, 87%, 62%)
CMYKcmyk(75.9%, 86.7%, 0%, 38%)
CIE-LABlab(21.64, 49.68, -68.93)
CIE-LCHlch(21.64, 84.97, 305.78°)
OKLaboklab(34.69% 0.0138 -0.1993)
OKLCHoklch(34.69% 0.2 274)
XYZxyz(7.2370, 3.4163, 32.6191)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26159E #8D9E15
analogous
#15499E #26159E #6A159E
triadic
#26159E #9E2615 #159E26
tetradic
#26159E #9E1549 #8D9E15 #159E6A
square
#26159E #9E1549 #8D9E15 #159E6A
split-complementary
#26159E #9E6A15 #499E15
monochromatic
#0C0732 #190E68 #26159E #331CD4 #5B47E7

Accessibility & contrast

On white

12.47
#26159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#26159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26159E
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26159E#FFFFFF#000000##FFFFFF
##26159E1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA2
Deuteranopia (green-blind)
#002D9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26159e;
/* rgb */ color: rgb(38, 21, 158);
/* oklch */ color: oklch(34.7% 0.200 274.0);
Tailwind
colors: {
  custom: {
    50: '#7759bc',
    500: '#26159e',
    950: '#000000',
  },
}
SCSS
$custom: #26159e;
$custom-light: #7759bc;
$custom-dark: #000000;
JSON
{
  "hex": "#26159e",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 247.445,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34686,
    "c": 0.19974,
    "h": 274
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#26159E
secondary
#B8C747
accent
#F335DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26159E

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

Preview Lab → · Contrast checker → · Palette generator →

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