#26257B#26257B

#26257B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.141 H 275.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#26257B
RGBrgb(38, 37, 123)
HSLhsl(241, 54%, 31%)
HSVhsv(241, 70%, 48%)
CMYKcmyk(69.1%, 69.9%, 0%, 51.8%)
CIE-LABlab(20.69, 29.63, -48.66)
CIE-LCHlch(20.69, 56.97, 301.34°)
OKLaboklab(32.87% 0.0143 -0.1405)
OKLCHoklch(32.87% 0.141 275.8)
XYZxyz(5.0349, 3.1648, 19.0806)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26257B #7A7B25
analogous
#254F7B #26257B #51257B
triadic
#26257B #7B2625 #257B26
tetradic
#26257B #7B254F #7A7B25 #257B51
square
#26257B #7B254F #7A7B25 #257B51
split-complementary
#26257B #7B5125 #4F7B25
monochromatic
#09091D #17174C #26257B #3533AA #5150CA

Accessibility & contrast

On white

12.86
#26257B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26257B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26257B#FFFFFF#000000##FFFFFF
##26257B1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #26257b;
/* rgb */ color: rgb(38, 37, 123);
/* oklch */ color: oklch(32.9% 0.141 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d60a2',
    500: '#26257b',
    950: '#000000',
  },
}
SCSS
$custom: #26257b;
$custom-light: #6d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#26257b",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 123
  },
  "hsl": {
    "h": 240.698,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32866,
    "c": 0.14119,
    "h": 275.8
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#26257B
secondary
#ACAD4F
accent
#DD4BDB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #26257B

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

Preview Lab → · Contrast checker → · Palette generator →

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