#26278D#26278D

#26278D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.163 H 273.7°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#26278D
RGBrgb(38, 39, 141)
HSLhsl(239, 58%, 35%)
HSVhsv(239, 73%, 55%)
CMYKcmyk(73%, 72.3%, 0%, 44.7%)
CIE-LABlab(22.95, 34.80, -56.27)
CIE-LCHlch(22.95, 66.16, 301.73°)
OKLaboklab(35.04% 0.0104 -0.1627)
OKLCHoklch(35.04% 0.163 273.7)
XYZxyz(6.3310, 3.7856, 25.5912)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26278D #8D8C26
analogous
#265B8D #26278D #58268D
triadic
#26278D #8D2627 #278D26
tetradic
#26278D #8D265B #8D8C26 #268D58
square
#26278D #8D265B #8D8C26 #268D58
split-complementary
#26278D #8D5826 #5B8D26
monochromatic
#0C0C2D #191A5D #26278D #3334BD #5B5CD3

Accessibility & contrast

On white

11.95
#26278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#26278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26278D
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26278D#FFFFFF#000000##FFFFFF
##26278D1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26278d;
/* rgb */ color: rgb(38, 39, 141);
/* oklch */ color: oklch(35.0% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#7162af',
    500: '#26278d',
    950: '#000000',
  },
}
SCSS
$custom: #26278d;
$custom-light: #7162af;
$custom-dark: #000000;
JSON
{
  "hex": "#26278d",
  "rgb": {
    "r": 38,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 239.417,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35037,
    "c": 0.16305,
    "h": 273.7
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#26278D
secondary
#B8B757
accent
#DF47E1
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #26278D

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

Preview Lab → · Contrast checker → · Palette generator →

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