#26259C#26259C

#26259C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.184 H 272.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#26259C
RGBrgb(38, 37, 156)
HSLhsl(241, 62%, 38%)
HSVhsv(241, 76%, 61%)
CMYKcmyk(75.6%, 76.3%, 0%, 38.8%)
CIE-LABlab(24.11, 41.18, -63.61)
CIE-LCHlch(24.11, 75.77, 302.92°)
OKLaboklab(36.34% 0.0088 -0.1841)
OKLCHoklch(36.34% 0.184 272.7)
XYZxyz(7.4596, 4.1347, 31.8510)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26259C #9B9C25
analogous
#25609C #26259C #61259C
triadic
#26259C #9C2625 #259C26
tetradic
#26259C #9C2560 #9B9C25 #259C61
square
#26259C #9C2560 #9B9C25 #259C61
split-complementary
#26259C #9C6125 #609C25
monochromatic
#0E0E39 #1A196B #26259C #3231CD #6362DA

Accessibility & contrast

On white

11.49
#26259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26259C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26259C#FFFFFF#000000##FFFFFF
##26259C1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #26259c;
/* rgb */ color: rgb(38, 37, 156);
/* oklch */ color: oklch(36.3% 0.184 272.7);
Tailwind
colors: {
  custom: {
    50: '#7561ba',
    500: '#26259c',
    950: '#000000',
  },
}
SCSS
$custom: #26259c;
$custom-light: #7561ba;
$custom-dark: #000000;
JSON
{
  "hex": "#26259c",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 240.504,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.18428,
    "h": 272.7
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#26259C
secondary
#BEBF5E
accent
#E543E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26259C

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

Preview Lab → · Contrast checker → · Palette generator →

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