#26258A#26258A

#26258A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.161 H 274.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#26258A
RGBrgb(38, 37, 138)
HSLhsl(241, 58%, 34%)
HSVhsv(241, 73%, 54%)
CMYKcmyk(72.5%, 73.2%, 0%, 45.9%)
CIE-LABlab(22.19, 34.97, -55.65)
CIE-LCHlch(22.19, 65.72, 302.15°)
OKLaboklab(34.4% 0.0121 -0.1609)
OKLCHoklch(34.4% 0.161 274.3)
XYZxyz(6.0468, 3.5696, 24.4102)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26258A #898A25
analogous
#25578A #26258A #59258A
triadic
#26258A #8A2625 #258A26
tetradic
#26258A #8A2557 #898A25 #258A59
square
#26258A #8A2557 #898A25 #258A59
split-complementary
#26258A #8A5925 #578A25
monochromatic
#0B0B29 #19185A #26258A #3332BA #5957D2

Accessibility & contrast

On white

12.25
#26258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#26258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26258A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26258A#FFFFFF#000000##FFFFFF
##26258A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26258a;
/* rgb */ color: rgb(38, 37, 138);
/* oklch */ color: oklch(34.4% 0.161 274.3);
Tailwind
colors: {
  custom: {
    50: '#7060ad',
    500: '#26258a',
    950: '#000000',
  },
}
SCSS
$custom: #26258a;
$custom-light: #7060ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26258a",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 240.594,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.16134,
    "h": 274.3
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#26258A
secondary
#B6B754
accent
#E147DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #26258A

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

Preview Lab → · Contrast checker → · Palette generator →

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