#26288C#26288C

#26288C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.161 H 273.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#26288C
RGBrgb(38, 40, 140)
HSLhsl(239, 57%, 35%)
HSVhsv(239, 73%, 55%)
CMYKcmyk(72.9%, 71.4%, 0%, 45.1%)
CIE-LABlab(23.08, 33.82, -55.44)
CIE-LCHlch(23.08, 64.94, 301.38°)
OKLaboklab(35.1% 0.0099 -0.1603)
OKLCHoklch(35.1% 0.161 273.5)
XYZxyz(6.2902, 3.8225, 25.2122)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26288C #8C8A26
analogous
#265B8C #26288C #57268C
triadic
#26288C #8C2628 #288C26
tetradic
#26288C #8C265B #8C8A26 #268C57
square
#26288C #8C265B #8C8A26 #268C57
split-complementary
#26288C #8C5726 #5B8C26
monochromatic
#0C0C2C #191A5C #26288C #3336BC #5A5DD2

Accessibility & contrast

On white

11.90
#26288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#26288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26288C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26288C#FFFFFF#000000##FFFFFF
##26288C1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26288c;
/* rgb */ color: rgb(38, 40, 140);
/* oklch */ color: oklch(35.1% 0.161 273.5);
Tailwind
colors: {
  custom: {
    50: '#7063af',
    500: '#26288c',
    950: '#000000',
  },
}
SCSS
$custom: #26288c;
$custom-light: #7063af;
$custom-dark: #000000;
JSON
{
  "hex": "#26288c",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 238.824,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35097,
    "c": 0.16061,
    "h": 273.5
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#26288C
secondary
#B7B557
accent
#DE47E1
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #26288C

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

Preview Lab → · Contrast checker → · Palette generator →

#26288C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva