#26258B#26258B

#26258B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.163 H 274.2°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#26258B
RGBrgb(38, 37, 139)
HSLhsl(241, 58%, 35%)
HSVhsv(241, 73%, 55%)
CMYKcmyk(72.7%, 73.4%, 0%, 45.5%)
CIE-LABlab(22.30, 35.32, -56.10)
CIE-LCHlch(22.30, 66.29, 302.20°)
OKLaboklab(34.51% 0.0119 -0.1622)
OKLCHoklch(34.51% 0.163 274.2)
XYZxyz(6.1195, 3.5987, 24.7932)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26258B #8A8B25
analogous
#25578B #26258B #59258B
triadic
#26258B #8B2625 #258B26
tetradic
#26258B #8B2557 #8A8B25 #258B59
square
#26258B #8B2557 #8A8B25 #258B59
split-complementary
#26258B #8B5925 #578B25
monochromatic
#0C0B2A #19185B #26258B #3332BB #5958D3

Accessibility & contrast

On white

12.21
#26258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#26258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26258B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26258B#FFFFFF#000000##FFFFFF
##26258B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26258b;
/* rgb */ color: rgb(38, 37, 139);
/* oklch */ color: oklch(34.5% 0.163 274.2);
Tailwind
colors: {
  custom: {
    50: '#7060ae',
    500: '#26258b',
    950: '#000000',
  },
}
SCSS
$custom: #26258b;
$custom-light: #7060ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26258b",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 240.588,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34508,
    "c": 0.16265,
    "h": 274.2
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#26258B
secondary
#B6B755
accent
#E147E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #26258B

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

Preview Lab → · Contrast checker → · Palette generator →

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