#26138A#26138A

#26138A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.178 H 276.7°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#26138A
RGBrgb(38, 19, 138)
HSLhsl(250, 76%, 31%)
HSVhsv(250, 86%, 54%)
CMYKcmyk(72.5%, 86.2%, 0%, 45.9%)
CIE-LABlab(18.85, 44.54, -61.17)
CIE-LCHlch(18.85, 75.67, 306.06°)
OKLaboklab(32.06% 0.0207 -0.1767)
OKLCHoklch(32.06% 0.178 276.7)
XYZxyz(5.6182, 2.7123, 24.2673)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26138A #778A13
analogous
#133B8A #26138A #61138A
triadic
#26138A #8A2613 #138A26
tetradic
#26138A #8A133B #778A13 #138A61
square
#26138A #8A133B #778A13 #138A61
split-complementary
#26138A #8A6113 #3B8A13
monochromatic
#08041E #170C54 #26138A #351AC0 #5034E3

Accessibility & contrast

On white

13.61
#26138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#26138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26138A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26138A#FFFFFF#000000##FFFFFF
##26138A1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338D
Deuteranopia (green-blind)
#002988
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #26138a;
/* rgb */ color: rgb(38, 19, 138);
/* oklch */ color: oklch(32.1% 0.178 276.7);
Tailwind
colors: {
  custom: {
    50: '#7256ad',
    500: '#26138a',
    950: '#000000',
  },
}
SCSS
$custom: #26138a;
$custom-light: #7256ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26138a",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 249.58,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32059,
    "c": 0.17795,
    "h": 276.7
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#26138A
secondary
#A9BE3A
accent
#F235D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #26138A

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

Preview Lab → · Contrast checker → · Palette generator →

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