#26288B#26288B

#26288B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.159 H 273.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#26288B
RGBrgb(38, 40, 139)
HSLhsl(239, 57%, 35%)
HSVhsv(239, 73%, 55%)
CMYKcmyk(72.7%, 71.2%, 0%, 45.5%)
CIE-LABlab(22.98, 33.46, -54.98)
CIE-LCHlch(22.98, 64.36, 301.32°)
OKLaboklab(34.99% 0.0101 -0.159)
OKLCHoklch(34.99% 0.159 273.6)
XYZxyz(6.2168, 3.7931, 24.8256)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26288B #8B8926
analogous
#265B8B #26288B #57268B
triadic
#26288B #8B2628 #288B26
tetradic
#26288B #8B265B #8B8926 #268B57
square
#26288B #8B265B #8B8926 #268B57
split-complementary
#26288B #8B5726 #5B8B26
monochromatic
#0C0C2B #191A5B #26288B #3336BB #5A5CD2

Accessibility & contrast

On white

11.94
#26288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26288B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26288B#FFFFFF#000000##FFFFFF
##26288B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26288b;
/* rgb */ color: rgb(38, 40, 139);
/* oklch */ color: oklch(35.0% 0.159 273.6);
Tailwind
colors: {
  custom: {
    50: '#7062ae',
    500: '#26288b',
    950: '#000000',
  },
}
SCSS
$custom: #26288b;
$custom-light: #7062ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26288b",
  "rgb": {
    "r": 38,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 238.812,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34994,
    "c": 0.15928,
    "h": 273.6
  },
  "luminance": 0.03794
}

Semantic roles & 50–950 ramp

primary
#26288B
secondary
#B7B556
accent
#DD47E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #26288B

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

Preview Lab → · Contrast checker → · Palette generator →

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