#26198E#26198E

#26198E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.178 H 275.6°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#26198E
RGBrgb(38, 25, 142)
HSLhsl(247, 70%, 33%)
HSVhsv(247, 82%, 56%)
CMYKcmyk(73.2%, 82.4%, 0%, 44.3%)
CIE-LABlab(20.28, 43.01, -61.30)
CIE-LCHlch(20.28, 74.88, 305.05°)
OKLaboklab(33.19% 0.0172 -0.1772)
OKLCHoklch(33.19% 0.178 275.6)
XYZxyz(6.0278, 3.0597, 25.8589)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26198E #818E19
analogous
#19468E #26198E #61198E
triadic
#26198E #8E2619 #198E26
tetradic
#26198E #8E1946 #818E19 #198E61
square
#26198E #8E1946 #818E19 #198E61
split-complementary
#26198E #8E6119 #468E19
monochromatic
#0A0726 #18105A #26198E #3422C2 #5543DE

Accessibility & contrast

On white

13.03
#26198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#26198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26198E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26198E#FFFFFF#000000##FFFFFF
##26198E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #26198e;
/* rgb */ color: rgb(38, 25, 142);
/* oklch */ color: oklch(33.2% 0.178 275.6);
Tailwind
colors: {
  custom: {
    50: '#725ab0',
    500: '#26198e',
    950: '#000000',
  },
}
SCSS
$custom: #26198e;
$custom-light: #725ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#26198e",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 246.667,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33186,
    "c": 0.17806,
    "h": 275.6
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#26198E
secondary
#B1BF44
accent
#ED3BD9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26198E

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

Preview Lab → · Contrast checker → · Palette generator →

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