#26257A#26257A

#26257A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.140 H 275.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#26257A
RGBrgb(38, 37, 122)
HSLhsl(241, 53%, 31%)
HSVhsv(241, 70%, 48%)
CMYKcmyk(68.9%, 69.7%, 0%, 52.2%)
CIE-LABlab(20.60, 29.26, -48.18)
CIE-LCHlch(20.60, 56.37, 301.27°)
OKLaboklab(32.77% 0.0145 -0.1391)
OKLCHoklch(32.77% 0.14 275.9)
XYZxyz(4.9726, 3.1399, 18.7526)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26257A #797A25
analogous
#254E7A #26257A #50257A
triadic
#26257A #7A2625 #257A26
tetradic
#26257A #7A254E #797A25 #257A50
square
#26257A #7A254E #797A25 #257A50
split-complementary
#26257A #7A5025 #4E7A25
monochromatic
#09091C #17174B #26257A #3533A9 #5150CA

Accessibility & contrast

On white

12.90
#26257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#26257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26257A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26257A#FFFFFF#000000##FFFFFF
##26257A1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #26257a;
/* rgb */ color: rgb(38, 37, 122);
/* oklch */ color: oklch(32.8% 0.140 275.9);
Tailwind
colors: {
  custom: {
    50: '#6c60a1',
    500: '#26257a',
    950: '#000000',
  },
}
SCSS
$custom: #26257a;
$custom-light: #6c60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#26257a",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 240.706,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32767,
    "c": 0.13981,
    "h": 275.9
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#26257A
secondary
#ABAC4E
accent
#DD4BDB
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #26257A

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

Preview Lab → · Contrast checker → · Palette generator →

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