#26148C#26148C

#26148C is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.4% C 0.180 H 276.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#26148C
RGBrgb(38, 20, 140)
HSLhsl(249, 75%, 31%)
HSVhsv(249, 86%, 55%)
CMYKcmyk(72.9%, 85.7%, 0%, 45.1%)
CIE-LABlab(19.25, 44.72, -61.77)
CIE-LCHlch(19.25, 76.25, 305.90°)
OKLaboklab(32.4% 0.0197 -0.1785)
OKLCHoklch(32.4% 0.18 276.3)
XYZxyz(5.7816, 2.8053, 25.0426)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26148C #7A8C14
analogous
#143E8C #26148C #62148C
triadic
#26148C #8C2614 #148C26
tetradic
#26148C #8C143E #7A8C14 #148C62
square
#26148C #8C143E #7A8C14 #148C62
split-complementary
#26148C #8C6214 #3E8C14
monochromatic
#090521 #170C56 #26148C #351CC2 #5138E3

Accessibility & contrast

On white

13.45
#26148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#26148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26148C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26148C#FFFFFF#000000##FFFFFF
##26148C1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348F
Deuteranopia (green-blind)
#00298A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #26148c;
/* rgb */ color: rgb(38, 20, 140);
/* oklch */ color: oklch(32.4% 0.180 276.3);
Tailwind
colors: {
  custom: {
    50: '#7257af',
    500: '#26148c',
    950: '#000000',
  },
}
SCSS
$custom: #26148c;
$custom-light: #7257af;
$custom-dark: #000000;
JSON
{
  "hex": "#26148c",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 249,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32401,
    "c": 0.17958,
    "h": 276.3
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#26148C
secondary
#ACC03C
accent
#F236D5
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #26148C

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

Preview Lab → · Contrast checker → · Palette generator →

#26148C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva