#26259D#26259D

#26259D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.186 H 272.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#26259D
RGBrgb(38, 37, 157)
HSLhsl(241, 62%, 38%)
HSVhsv(241, 76%, 62%)
CMYKcmyk(75.8%, 76.4%, 0%, 38.4%)
CIE-LABlab(24.22, 41.52, -64.04)
CIE-LCHlch(24.22, 76.32, 302.96°)
OKLaboklab(36.45% 0.0086 -0.1853)
OKLCHoklch(36.45% 0.186 272.7)
XYZxyz(7.5447, 4.1687, 32.2988)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26259D #9C9D25
analogous
#25609D #26259D #62259D
triadic
#26259D #9D2625 #259D26
tetradic
#26259D #9D2560 #9C9D25 #259D62
square
#26259D #9D2560 #9C9D25 #259D62
split-complementary
#26259D #9D6225 #609D25
monochromatic
#0E0E3A #1A196B #26259D #3231CE #6362DA

Accessibility & contrast

On white

11.45
#26259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#26259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26259D
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26259D#FFFFFF#000000##FFFFFF
##26259D1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #26259d;
/* rgb */ color: rgb(38, 37, 157);
/* oklch */ color: oklch(36.4% 0.186 272.7);
Tailwind
colors: {
  custom: {
    50: '#7561bb',
    500: '#26259d',
    950: '#000000',
  },
}
SCSS
$custom: #26259d;
$custom-light: #7561bb;
$custom-dark: #000000;
JSON
{
  "hex": "#26259d",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 240.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36449,
    "c": 0.18553,
    "h": 272.7
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#26259D
secondary
#BFBF5E
accent
#E543E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26259D

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

Preview Lab → · Contrast checker → · Palette generator →

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