#26258C#26258C

#26258C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.164 H 274.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#26258C
RGBrgb(38, 37, 140)
HSLhsl(241, 58%, 35%)
HSVhsv(241, 74%, 55%)
CMYKcmyk(72.9%, 73.6%, 0%, 45.1%)
CIE-LABlab(22.40, 35.67, -56.55)
CIE-LCHlch(22.40, 66.86, 302.24°)
OKLaboklab(34.61% 0.0117 -0.1635)
OKLCHoklch(34.61% 0.164 274.1)
XYZxyz(6.1929, 3.6281, 25.1798)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26258C #8B8C25
analogous
#25578C #26258C #5A258C
triadic
#26258C #8C2625 #258C26
tetradic
#26258C #8C2557 #8B8C25 #258C5A
square
#26258C #8C2557 #8B8C25 #258C5A
split-complementary
#26258C #8C5A25 #578C25
monochromatic
#0C0B2B #19185C #26258C #3332BC #5A58D3

Accessibility & contrast

On white

12.17
#26258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26258C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26258C#FFFFFF#000000##FFFFFF
##26258C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26258c;
/* rgb */ color: rgb(38, 37, 140);
/* oklch */ color: oklch(34.6% 0.164 274.1);
Tailwind
colors: {
  custom: {
    50: '#7161af',
    500: '#26258c',
    950: '#000000',
  },
}
SCSS
$custom: #26258c;
$custom-light: #7161af;
$custom-dark: #000000;
JSON
{
  "hex": "#26258c",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 240.583,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.16395,
    "h": 274.1
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#26258C
secondary
#B7B855
accent
#E146E0
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #26258C

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

Preview Lab → · Contrast checker → · Palette generator →

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