#26148B#26148B

#26148B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.178 H 276.5°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#26148B
RGBrgb(38, 20, 139)
HSLhsl(249, 75%, 31%)
HSVhsv(249, 86%, 55%)
CMYKcmyk(72.7%, 85.6%, 0%, 45.5%)
CIE-LABlab(19.12, 44.41, -61.35)
CIE-LCHlch(19.12, 75.74, 305.90°)
OKLaboklab(32.28% 0.02 -0.1773)
OKLCHoklch(32.28% 0.178 276.5)
XYZxyz(5.7082, 2.7759, 24.6561)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26148B #798B14
analogous
#143D8B #26148B #61148B
triadic
#26148B #8B2614 #148B26
tetradic
#26148B #8B143D #798B14 #148B61
square
#26148B #8B143D #798B14 #148B61
split-complementary
#26148B #8B6114 #3D8B14
monochromatic
#090520 #170C55 #26148B #351CC1 #5137E2

Accessibility & contrast

On white

13.50
#26148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26148B
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26148B#FFFFFF#000000##FFFFFF
##26148B1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #26148b;
/* rgb */ color: rgb(38, 20, 139);
/* oklch */ color: oklch(32.3% 0.178 276.5);
Tailwind
colors: {
  custom: {
    50: '#7257ae',
    500: '#26148b',
    950: '#000000',
  },
}
SCSS
$custom: #26148b;
$custom-light: #7257ae;
$custom-dark: #000000;
JSON
{
  "hex": "#26148b",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 249.076,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.1784,
    "h": 276.5
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#26148B
secondary
#ABBF3C
accent
#F136D5
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #26148B

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

Preview Lab → · Contrast checker → · Palette generator →

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