#26288F#26288F

#26288F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.165 H 273.3°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#26288F
RGBrgb(38, 40, 143)
HSLhsl(239, 58%, 35%)
HSVhsv(239, 73%, 56%)
CMYKcmyk(73.4%, 72%, 0%, 43.9%)
CIE-LABlab(23.38, 34.88, -56.81)
CIE-LCHlch(23.38, 66.66, 301.55°)
OKLaboklab(35.41% 0.0095 -0.1643)
OKLCHoklch(35.41% 0.165 273.3)
XYZxyz(6.5144, 3.9122, 26.3931)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26288F #8F8D26
analogous
#265C8F #26288F #58268F
triadic
#26288F #8F2628 #288F26
tetradic
#26288F #8F265C #8F8D26 #268F58
square
#26288F #8F265C #8F8D26 #268F58
split-complementary
#26288F #8F5826 #5C8F26
monochromatic
#0C0D2E #191A5F #26288F #3336BF #5C5ED4

Accessibility & contrast

On white

11.78
#26288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26288F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26288F#FFFFFF#000000##FFFFFF
##26288F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26288f;
/* rgb */ color: rgb(38, 40, 143);
/* oklch */ color: oklch(35.4% 0.165 273.3);
Tailwind
colors: {
  custom: {
    50: '#7163b1',
    500: '#26288f',
    950: '#000000',
  },
}
SCSS
$custom: #26288f;
$custom-light: #7163b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26288f",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 238.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35406,
    "c": 0.16455,
    "h": 273.3
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26288F

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

Preview Lab → · Contrast checker → · Palette generator →

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