#26178A#26178A

#26178A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.175 H 276.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#26178A
RGBrgb(38, 23, 138)
HSLhsl(248, 71%, 32%)
HSVhsv(248, 83%, 54%)
CMYKcmyk(72.5%, 83.3%, 0%, 45.9%)
CIE-LABlab(19.47, 42.72, -60.14)
CIE-LCHlch(19.47, 73.77, 305.39°)
OKLaboklab(32.49% 0.0192 -0.1738)
OKLCHoklch(32.49% 0.175 276.3)
XYZxyz(5.6917, 2.8593, 24.2918)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26178A #7B8A17
analogous
#17428A #26178A #60178A
triadic
#26178A #8A2617 #178A26
tetradic
#26178A #8A1742 #7B8A17 #178A60
square
#26178A #8A1742 #7B8A17 #178A60
split-complementary
#26178A #8A6017 #428A17
monochromatic
#090621 #180E56 #26178A #3420BE #523DDF

Accessibility & contrast

On white

13.36
#26178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#26178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26178A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26178A#FFFFFF#000000##FFFFFF
##26178A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26178a;
/* rgb */ color: rgb(38, 23, 138);
/* oklch */ color: oklch(32.5% 0.175 276.3);
Tailwind
colors: {
  custom: {
    50: '#7258ad',
    500: '#26178a',
    950: '#000000',
  },
}
SCSS
$custom: #26178a;
$custom-light: #7258ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26178a",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 247.826,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32485,
    "c": 0.17489,
    "h": 276.3
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#26178A
secondary
#ADBE3F
accent
#EE3AD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #26178A

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

Preview Lab → · Contrast checker → · Palette generator →

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