#26138E#26138E

#26138E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.183 H 276.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#26138E
RGBrgb(38, 19, 142)
HSLhsl(249, 76%, 32%)
HSVhsv(249, 87%, 56%)
CMYKcmyk(73.2%, 86.6%, 0%, 44.3%)
CIE-LABlab(19.35, 45.75, -62.84)
CIE-LCHlch(19.35, 77.73, 306.05°)
OKLaboklab(32.54% 0.0194 -0.1816)
OKLCHoklch(32.54% 0.183 276.1)
XYZxyz(5.9131, 2.8302, 25.8206)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26138E #7B8E13
analogous
#133E8E #26138E #64138E
triadic
#26138E #8E2613 #138E26
tetradic
#26138E #8E133E #7B8E13 #138E64
square
#26138E #8E133E #7B8E13 #138E64
split-complementary
#26138E #8E6413 #3E8E13
monochromatic
#090522 #180C58 #26138E #341AC4 #5237E4

Accessibility & contrast

On white

13.41
#26138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#26138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26138E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26138E#FFFFFF#000000##FFFFFF
##26138E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00298C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26138e;
/* rgb */ color: rgb(38, 19, 142);
/* oklch */ color: oklch(32.5% 0.183 276.1);
Tailwind
colors: {
  custom: {
    50: '#7357b0',
    500: '#26138e',
    950: '#000000',
  },
}
SCSS
$custom: #26138e;
$custom-light: #7357b0;
$custom-dark: #000000;
JSON
{
  "hex": "#26138e",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 249.268,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32544,
    "c": 0.18263,
    "h": 276.1
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#26138E
secondary
#ADC23B
accent
#F335D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #26138E

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

Preview Lab → · Contrast checker → · Palette generator →

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