#26257E#26257E

#26257E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.145 H 275.5°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#26257E
RGBrgb(38, 37, 126)
HSLhsl(241, 55%, 32%)
HSVhsv(241, 71%, 49%)
CMYKcmyk(69.8%, 70.6%, 0%, 50.6%)
CIE-LABlab(20.98, 30.71, -50.08)
CIE-LCHlch(20.98, 58.75, 301.51°)
OKLaboklab(33.17% 0.0139 -0.1446)
OKLCHoklch(33.17% 0.145 275.5)
XYZxyz(5.2256, 3.2411, 20.0848)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26257E #7D7E25
analogous
#25517E #26257E #53257E
triadic
#26257E #7E2625 #257E26
tetradic
#26257E #7E2551 #7D7E25 #257E53
square
#26257E #7E2551 #7D7E25 #257E53
split-complementary
#26257E #7E5325 #517E25
monochromatic
#09091F #18174F #26257E #3433AD #5351CC

Accessibility & contrast

On white

12.74
#26257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#26257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26257E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26257E#FFFFFF#000000##FFFFFF
##26257E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26257e;
/* rgb */ color: rgb(38, 37, 126);
/* oklch */ color: oklch(33.2% 0.145 275.5);
Tailwind
colors: {
  custom: {
    50: '#6d60a4',
    500: '#26257e',
    950: '#000000',
  },
}
SCSS
$custom: #26257e;
$custom-light: #6d60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#26257e",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 240.674,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33167,
    "c": 0.1453,
    "h": 275.5
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26257E

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

Preview Lab → · Contrast checker → · Palette generator →

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