#26257F#26257F

#26257F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.147 H 275.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#26257F
RGBrgb(38, 37, 127)
HSLhsl(241, 55%, 32%)
HSVhsv(241, 71%, 50%)
CMYKcmyk(70.1%, 70.9%, 0%, 50.2%)
CIE-LABlab(21.08, 31.07, -50.56)
CIE-LCHlch(21.08, 59.34, 301.57°)
OKLaboklab(33.27% 0.0138 -0.146)
OKLCHoklch(33.27% 0.147 275.4)
XYZxyz(5.2904, 3.2670, 20.4264)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26257F #7E7F25
analogous
#25517F #26257F #53257F
triadic
#26257F #7F2625 #257F26
tetradic
#26257F #7F2551 #7E7F25 #257F53
square
#26257F #7F2551 #7E7F25 #257F53
split-complementary
#26257F #7F5325 #517F25
monochromatic
#0A0920 #181750 #26257F #3433AE #5352CD

Accessibility & contrast

On white

12.70
#26257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26257F
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26257F#FFFFFF#000000##FFFFFF
##26257F1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #26257f;
/* rgb */ color: rgb(38, 37, 127);
/* oklch */ color: oklch(33.3% 0.147 275.4);
Tailwind
colors: {
  custom: {
    50: '#6e60a5',
    500: '#26257f',
    950: '#000000',
  },
}
SCSS
$custom: #26257f;
$custom-light: #6e60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#26257f",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 240.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33268,
    "c": 0.14667,
    "h": 275.4
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#26257F
secondary
#B0B14F
accent
#DE4ADD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #26257F

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

Preview Lab → · Contrast checker → · Palette generator →

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