#26178D#26178D

#26178D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.178 H 275.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#26178D
RGBrgb(38, 23, 141)
HSLhsl(248, 72%, 32%)
HSVhsv(248, 84%, 55%)
CMYKcmyk(73%, 83.7%, 0%, 44.7%)
CIE-LABlab(19.83, 43.66, -61.42)
CIE-LCHlch(19.83, 75.36, 305.41°)
OKLaboklab(32.84% 0.0183 -0.1775)
OKLCHoklch(32.84% 0.178 275.9)
XYZxyz(5.9119, 2.9474, 25.4515)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26178D #7E8D17
analogous
#17438D #26178D #61178D
triadic
#26178D #8D2617 #178D26
tetradic
#26178D #8D1743 #7E8D17 #178D61
square
#26178D #8D1743 #7E8D17 #178D61
split-complementary
#26178D #8D6117 #438D17
monochromatic
#0A0624 #180E58 #26178D #3420C2 #533FE0

Accessibility & contrast

On white

13.21
#26178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#26178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26178D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26178D#FFFFFF#000000##FFFFFF
##26178D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26178d;
/* rgb */ color: rgb(38, 23, 141);
/* oklch */ color: oklch(32.8% 0.178 275.9);
Tailwind
colors: {
  custom: {
    50: '#7258b0',
    500: '#26178d',
    950: '#000000',
  },
}
SCSS
$custom: #26178d;
$custom-light: #7258b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26178d",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 247.627,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32839,
    "c": 0.17848,
    "h": 275.9
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#26178D
secondary
#B0C040
accent
#EF39D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26178D

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

Preview Lab → · Contrast checker → · Palette generator →

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