#26178C#26178C

#26178C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.177 H 276.0°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#26178C
RGBrgb(38, 23, 140)
HSLhsl(248, 72%, 32%)
HSVhsv(248, 84%, 55%)
CMYKcmyk(72.9%, 83.6%, 0%, 45.1%)
CIE-LABlab(19.71, 43.35, -61.00)
CIE-LCHlch(19.71, 74.83, 305.40°)
OKLaboklab(32.72% 0.0186 -0.1763)
OKLCHoklch(32.72% 0.177 276)
XYZxyz(5.8378, 2.9178, 25.0614)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26178C #7D8C17
analogous
#17438C #26178C #61178C
triadic
#26178C #8C2617 #178C26
tetradic
#26178C #8C1743 #7D8C17 #178C61
square
#26178C #8C1743 #7D8C17 #178C61
split-complementary
#26178C #8C6117 #438C17
monochromatic
#090623 #180E57 #26178C #3420C1 #533EDF

Accessibility & contrast

On white

13.26
#26178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#26178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26178C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26178C#FFFFFF#000000##FFFFFF
##26178C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002A8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26178c;
/* rgb */ color: rgb(38, 23, 140);
/* oklch */ color: oklch(32.7% 0.177 276.0);
Tailwind
colors: {
  custom: {
    50: '#7258af',
    500: '#26178c',
    950: '#000000',
  },
}
SCSS
$custom: #26178c;
$custom-light: #7258af;
$custom-dark: #000000;
JSON
{
  "hex": "#26178c",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 247.692,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32721,
    "c": 0.17729,
    "h": 276
  },
  "luminance": 0.02918
}

Semantic roles & 50–950 ramp

primary
#26178C
secondary
#AFBF3F
accent
#EF39D7
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #26178C

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

Preview Lab → · Contrast checker → · Palette generator →

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