#26288D#26288D

#26288D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.162 H 273.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#26288D
RGBrgb(38, 40, 141)
HSLhsl(239, 58%, 35%)
HSVhsv(239, 73%, 55%)
CMYKcmyk(73%, 71.6%, 0%, 44.7%)
CIE-LABlab(23.18, 34.17, -55.90)
CIE-LCHlch(23.18, 65.52, 301.44°)
OKLaboklab(35.2% 0.0098 -0.1616)
OKLCHoklch(35.2% 0.162 273.5)
XYZxyz(6.3642, 3.8521, 25.6023)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26288D #8D8B26
analogous
#265B8D #26288D #57268D
triadic
#26288D #8D2628 #288D26
tetradic
#26288D #8D265B #8D8B26 #268D57
square
#26288D #8D265B #8D8B26 #268D57
split-complementary
#26288D #8D5726 #5B8D26
monochromatic
#0C0D2D #191A5D #26288D #3336BD #5B5DD3

Accessibility & contrast

On white

11.86
#26288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#26288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26288D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26288D#FFFFFF#000000##FFFFFF
##26288D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26288d;
/* rgb */ color: rgb(38, 40, 141);
/* oklch */ color: oklch(35.2% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#7163af',
    500: '#26288d',
    950: '#000000',
  },
}
SCSS
$custom: #26288d;
$custom-light: #7163af;
$custom-dark: #000000;
JSON
{
  "hex": "#26288d",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 238.835,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.16193,
    "h": 273.5
  },
  "luminance": 0.03853
}

Semantic roles & 50–950 ramp

primary
#26288D
secondary
#B8B657
accent
#DE47E1
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #26288D

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

Preview Lab → · Contrast checker → · Palette generator →

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