#26257D#26257D

#26257D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.144 H 275.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#26257D
RGBrgb(38, 37, 125)
HSLhsl(241, 54%, 32%)
HSVhsv(241, 70%, 49%)
CMYKcmyk(69.6%, 70.4%, 0%, 51%)
CIE-LABlab(20.89, 30.35, -49.61)
CIE-LCHlch(20.89, 58.16, 301.46°)
OKLaboklab(33.07% 0.0141 -0.1432)
OKLCHoklch(33.07% 0.144 275.6)
XYZxyz(5.1614, 3.2154, 19.7467)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26257D #7C7D25
analogous
#25507D #26257D #52257D
triadic
#26257D #7D2625 #257D26
tetradic
#26257D #7D2550 #7C7D25 #257D52
square
#26257D #7D2550 #7C7D25 #257D52
split-complementary
#26257D #7D5225 #507D25
monochromatic
#09091F #18174E #26257D #3433AC #5251CB

Accessibility & contrast

On white

12.78
#26257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#26257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26257D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26257D#FFFFFF#000000##FFFFFF
##26257D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #26257d;
/* rgb */ color: rgb(38, 37, 125);
/* oklch */ color: oklch(33.1% 0.144 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d60a4',
    500: '#26257d',
    950: '#000000',
  },
}
SCSS
$custom: #26257d;
$custom-light: #6d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26257d",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 240.682,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.14394,
    "h": 275.6
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#26257D
secondary
#AEAF4F
accent
#DE4ADC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #26257D

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

Preview Lab → · Contrast checker → · Palette generator →

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