#26198A#26198A

#26198A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.173 H 276.1°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#26198A
RGBrgb(38, 25, 138)
HSLhsl(247, 69%, 32%)
HSVhsv(247, 82%, 54%)
CMYKcmyk(72.5%, 81.9%, 0%, 45.9%)
CIE-LABlab(19.81, 41.74, -59.58)
CIE-LCHlch(19.81, 72.75, 305.01°)
OKLaboklab(32.72% 0.0184 -0.1722)
OKLCHoklch(32.72% 0.173 276.1)
XYZxyz(5.7329, 2.9418, 24.3055)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26198A #7D8A19
analogous
#19448A #26198A #5F198A
triadic
#26198A #8A2619 #198A26
tetradic
#26198A #8A1944 #7D8A19 #198A5F
square
#26198A #8A1944 #7D8A19 #198A5F
split-complementary
#26198A #8A5F19 #448A19
monochromatic
#090622 #181056 #26198A #3422BE #5341DD

Accessibility & contrast

On white

13.22
#26198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#26198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26198A
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26198A#FFFFFF#000000##FFFFFF
##26198A1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26198a;
/* rgb */ color: rgb(38, 25, 138);
/* oklch */ color: oklch(32.7% 0.173 276.1);
Tailwind
colors: {
  custom: {
    50: '#7159ad',
    500: '#26198a',
    950: '#000000',
  },
}
SCSS
$custom: #26198a;
$custom-light: #7159ad;
$custom-dark: #000000;
JSON
{
  "hex": "#26198a",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 246.903,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3272,
    "c": 0.17322,
    "h": 276.1
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#26198A
secondary
#AFBD42
accent
#EC3CD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #26198A

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

Preview Lab → · Contrast checker → · Palette generator →

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