#26178F#26178F

#26178F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.181 H 275.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#26178F
RGBrgb(38, 23, 143)
HSLhsl(248, 72%, 33%)
HSVhsv(248, 84%, 56%)
CMYKcmyk(73.4%, 83.9%, 0%, 43.9%)
CIE-LABlab(20.07, 44.28, -62.27)
CIE-LCHlch(20.07, 76.41, 305.42°)
OKLaboklab(33.08% 0.0177 -0.18)
OKLCHoklch(33.08% 0.181 275.6)
XYZxyz(6.0620, 3.0074, 26.2423)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26178F #808F17
analogous
#17448F #26178F #62178F
triadic
#26178F #8F2617 #178F26
tetradic
#26178F #8F1744 #808F17 #178F62
square
#26178F #8F1744 #808F17 #178F62
split-complementary
#26178F #8F6217 #448F17
monochromatic
#0A0626 #180F5A #26178F #341FC4 #5440E0

Accessibility & contrast

On white

13.11
#26178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#26178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26178F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26178F#FFFFFF#000000##FFFFFF
##26178F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26178f;
/* rgb */ color: rgb(38, 23, 143);
/* oklch */ color: oklch(33.1% 0.181 275.6);
Tailwind
colors: {
  custom: {
    50: '#7359b1',
    500: '#26178f',
    950: '#000000',
  },
}
SCSS
$custom: #26178f;
$custom-light: #7359b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26178f",
  "rgb": {
    "r": 38,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 247.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33077,
    "c": 0.18087,
    "h": 275.6
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26178F

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

Preview Lab → · Contrast checker → · Palette generator →

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