#26255D#26255D

#26255D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.1% C 0.097 H 279.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#26255D
RGBrgb(38, 37, 93)
HSLhsl(241, 43%, 25%)
HSVhsv(241, 60%, 36%)
CMYKcmyk(59.1%, 60.2%, 0%, 63.5%)
CIE-LABlab(18.03, 18.64, -33.50)
CIE-LCHlch(18.03, 38.34, 299.08°)
OKLaboklab(30.09% 0.0162 -0.096)
OKLCHoklch(30.09% 0.097 279.6)
XYZxyz(3.4361, 2.5253, 10.6602)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26255D #5C5D25
analogous
#25405D #26255D #42255D
triadic
#26255D #5D2625 #255D26
tetradic
#26255D #5D2540 #5C5D25 #255D42
square
#26255D #5D2540 #5C5D25 #255D42
split-complementary
#26255D #5D4225 #405D25
monochromatic
#090916 #141431 #26255D #383689 #4A48B5

Accessibility & contrast

On white

13.95
#26255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#26255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26255D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26255D#FFFFFF#000000##FFFFFF
##26255D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#0B323D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #26255d;
/* rgb */ color: rgb(38, 37, 93);
/* oklch */ color: oklch(30.1% 0.097 279.6);
Tailwind
colors: {
  custom: {
    50: '#665f8b',
    500: '#26255d',
    950: '#000000',
  },
}
SCSS
$custom: #26255d;
$custom-light: #665f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#26255d",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 241.071,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30088,
    "c": 0.09732,
    "h": 279.6
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#26255D
secondary
#8F904D
accent
#D355D1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #26255D

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

Preview Lab → · Contrast checker → · Palette generator →

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