#26257C#26257C

#26257C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.143 H 275.7°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#26257C
RGBrgb(38, 37, 124)
HSLhsl(241, 54%, 32%)
HSVhsv(241, 70%, 49%)
CMYKcmyk(69.4%, 70.2%, 0%, 51.4%)
CIE-LABlab(20.79, 29.99, -49.13)
CIE-LCHlch(20.79, 57.56, 301.40°)
OKLaboklab(32.97% 0.0142 -0.1419)
OKLCHoklch(32.97% 0.143 275.7)
XYZxyz(5.0978, 3.1900, 19.4120)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26257C #7B7C25
analogous
#25507C #26257C #52257C
triadic
#26257C #7C2625 #257C26
tetradic
#26257C #7C2550 #7B7C25 #257C52
square
#26257C #7C2550 #7B7C25 #257C52
split-complementary
#26257C #7C5225 #507C25
monochromatic
#09091E #18174D #26257C #3433AB #5250CB

Accessibility & contrast

On white

12.82
#26257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26257C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26257C#FFFFFF#000000##FFFFFF
##26257C1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #26257c;
/* rgb */ color: rgb(38, 37, 124);
/* oklch */ color: oklch(33.0% 0.143 275.7);
Tailwind
colors: {
  custom: {
    50: '#6d60a3',
    500: '#26257c',
    950: '#000000',
  },
}
SCSS
$custom: #26257c;
$custom-light: #6d60a3;
$custom-dark: #000000;
JSON
{
  "hex": "#26257c",
  "rgb": {
    "r": 38,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 240.69,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32966,
    "c": 0.14257,
    "h": 275.7
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#26257C
secondary
#ADAE4F
accent
#DD4ADC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #26257C

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

Preview Lab → · Contrast checker → · Palette generator →

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