#26138F#26138F

#26138F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.184 H 276.0°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#26138F
RGBrgb(38, 19, 143)
HSLhsl(249, 77%, 32%)
HSVhsv(249, 87%, 56%)
CMYKcmyk(73.4%, 86.7%, 0%, 43.9%)
CIE-LABlab(19.48, 46.05, -63.26)
CIE-LCHlch(19.48, 78.24, 306.05°)
OKLaboklab(32.67% 0.0191 -0.1828)
OKLCHoklch(32.67% 0.184 276)
XYZxyz(5.9885, 2.8604, 26.2178)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26138F #7C8F13
analogous
#133E8F #26138F #64138F
triadic
#26138F #8F2613 #138F26
tetradic
#26138F #8F133E #7C8F13 #138F64
square
#26138F #8F133E #7C8F13 #138F64
split-complementary
#26138F #8F6413 #3E8F13
monochromatic
#090523 #180C59 #26138F #341AC5 #5238E5

Accessibility & contrast

On white

13.36
#26138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26138F
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26138F#FFFFFF#000000##FFFFFF
##26138F1.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)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26138f;
/* rgb */ color: rgb(38, 19, 143);
/* oklch */ color: oklch(32.7% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#7357b1',
    500: '#26138f',
    950: '#000000',
  },
}
SCSS
$custom: #26138f;
$custom-light: #7357b1;
$custom-dark: #000000;
JSON
{
  "hex": "#26138f",
  "rgb": {
    "r": 38,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 249.194,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32666,
    "c": 0.18379,
    "h": 276
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26138F

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

Preview Lab → · Contrast checker → · Palette generator →

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