#26258F#26258F

#26258F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.168 H 273.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#26258F
RGBrgb(38, 37, 143)
HSLhsl(241, 59%, 35%)
HSVhsv(241, 74%, 56%)
CMYKcmyk(73.4%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.72, 36.72, -57.90)
CIE-LCHlch(22.72, 68.56, 302.38°)
OKLaboklab(34.93% 0.0112 -0.1675)
OKLCHoklch(34.93% 0.168 273.8)
XYZxyz(6.4172, 3.7177, 26.3607)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26258F #8E8F25
analogous
#25598F #26258F #5B258F
triadic
#26258F #8F2625 #258F26
tetradic
#26258F #8F2559 #8E8F25 #258F5B
square
#26258F #8F2559 #8E8F25 #258F5B
split-complementary
#26258F #8F5B25 #598F25
monochromatic
#0C0C2E #19185E #26258F #3332C0 #5B5AD4

Accessibility & contrast

On white

12.04
#26258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#26258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26258F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26258F#FFFFFF#000000##FFFFFF
##26258F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #26258f;
/* rgb */ color: rgb(38, 37, 143);
/* oklch */ color: oklch(34.9% 0.168 273.8);
Tailwind
colors: {
  custom: {
    50: '#7161b1',
    500: '#26258f',
    950: '#000000',
  },
}
SCSS
$custom: #26258f;
$custom-light: #7161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26258f",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 240.566,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.16784,
    "h": 273.8
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#26258F
secondary
#B8B957
accent
#E246E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #26258F

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

Preview Lab → · Contrast checker → · Palette generator →

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