#26259E#26259E

#26259E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.187 H 272.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#26259E
RGBrgb(38, 37, 158)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 77%, 62%)
CMYKcmyk(75.9%, 76.6%, 0%, 38%)
CIE-LABlab(24.33, 41.85, -64.47)
CIE-LCHlch(24.33, 76.86, 302.99°)
OKLaboklab(36.56% 0.0084 -0.1866)
OKLCHoklch(36.56% 0.187 272.6)
XYZxyz(7.6304, 4.2030, 32.7502)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26259E #9D9E25
analogous
#25609E #26259E #62259E
triadic
#26259E #9E2625 #259E26
tetradic
#26259E #9E2560 #9D9E25 #259E62
square
#26259E #9E2560 #9D9E25 #259E62
split-complementary
#26259E #9E6225 #609E25
monochromatic
#0E0E3B #1A196C #26259E #3331CF #6463DA

Accessibility & contrast

On white

11.41
#26259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#26259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26259E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26259E#FFFFFF#000000##FFFFFF
##26259E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26259e;
/* rgb */ color: rgb(38, 37, 158);
/* oklch */ color: oklch(36.6% 0.187 272.6);
Tailwind
colors: {
  custom: {
    50: '#7561bc',
    500: '#26259e',
    950: '#000000',
  },
}
SCSS
$custom: #26259e;
$custom-light: #7561bc;
$custom-dark: #000000;
JSON
{
  "hex": "#26259e",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 240.496,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36559,
    "c": 0.18676,
    "h": 272.6
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#26259E
secondary
#BFC05F
accent
#E543E4
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26259E

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

Preview Lab → · Contrast checker → · Palette generator →

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