#26288E#26288E

#26288E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.163 H 273.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#26288E
RGBrgb(38, 40, 142)
HSLhsl(239, 58%, 35%)
HSVhsv(239, 73%, 56%)
CMYKcmyk(73.2%, 71.8%, 0%, 44.3%)
CIE-LABlab(23.28, 34.53, -56.35)
CIE-LCHlch(23.28, 66.09, 301.50°)
OKLaboklab(35.3% 0.0096 -0.163)
OKLCHoklch(35.3% 0.163 273.4)
XYZxyz(6.4390, 3.8820, 25.9959)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26288E #8E8C26
analogous
#265C8E #26288E #58268E
triadic
#26288E #8E2628 #288E26
tetradic
#26288E #8E265C #8E8C26 #268E58
square
#26288E #8E265C #8E8C26 #268E58
split-complementary
#26288E #8E5826 #5C8E26
monochromatic
#0C0D2D #191A5E #26288E #3336BE #5B5ED3

Accessibility & contrast

On white

11.82
#26288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#26288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26288E
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26288E#FFFFFF#000000##FFFFFF
##26288E1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26288e;
/* rgb */ color: rgb(38, 40, 142);
/* oklch */ color: oklch(35.3% 0.163 273.4);
Tailwind
colors: {
  custom: {
    50: '#7163b0',
    500: '#26288e',
    950: '#000000',
  },
}
SCSS
$custom: #26288e;
$custom-light: #7163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26288e",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 238.846,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35303,
    "c": 0.16324,
    "h": 273.4
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#26288E
secondary
#B8B658
accent
#DE47E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26288E

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

Preview Lab → · Contrast checker → · Palette generator →

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