#26258D#26258D

#26258D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.165 H 274.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#26258D
RGBrgb(38, 37, 141)
HSLhsl(241, 58%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(73%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.51, 36.02, -57.00)
CIE-LCHlch(22.51, 67.43, 302.29°)
OKLaboklab(34.72% 0.0116 -0.1648)
OKLCHoklch(34.72% 0.165 274)
XYZxyz(6.2670, 3.6577, 25.5699)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26258D #8C8D25
analogous
#25588D #26258D #5A258D
triadic
#26258D #8D2625 #258D26
tetradic
#26258D #8D2558 #8C8D25 #258D5A
square
#26258D #8D2558 #8C8D25 #258D5A
split-complementary
#26258D #8D5A25 #588D25
monochromatic
#0C0C2C #19185D #26258D #3332BD #5A59D3

Accessibility & contrast

On white

12.13
#26258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#26258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26258D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26258D#FFFFFF#000000##FFFFFF
##26258D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26258d;
/* rgb */ color: rgb(38, 37, 141);
/* oklch */ color: oklch(34.7% 0.165 274.0);
Tailwind
colors: {
  custom: {
    50: '#7161af',
    500: '#26258d',
    950: '#000000',
  },
}
SCSS
$custom: #26258d;
$custom-light: #7161af;
$custom-dark: #000000;
JSON
{
  "hex": "#26258d",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 240.577,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34719,
    "c": 0.16525,
    "h": 274
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#26258D
secondary
#B7B856
accent
#E246E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #26258D

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

Preview Lab → · Contrast checker → · Palette generator →

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