#26198C#26198C

#26198C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.176 H 275.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#26198C
RGBrgb(38, 25, 140)
HSLhsl(247, 70%, 32%)
HSVhsv(247, 82%, 55%)
CMYKcmyk(72.9%, 82.1%, 0%, 45.1%)
CIE-LABlab(20.04, 42.37, -60.44)
CIE-LCHlch(20.04, 73.82, 305.03°)
OKLaboklab(32.95% 0.0178 -0.1747)
OKLCHoklch(32.95% 0.176 275.8)
XYZxyz(5.8790, 3.0002, 25.0751)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26198C #7F8C19
analogous
#19458C #26198C #60198C
triadic
#26198C #8C2619 #198C26
tetradic
#26198C #8C1945 #7F8C19 #198C60
square
#26198C #8C1945 #7F8C19 #198C60
split-complementary
#26198C #8C6019 #458C19
monochromatic
#0A0624 #181058 #26198C #3422C0 #5442DD

Accessibility & contrast

On white

13.12
#26198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#26198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26198C
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26198C#FFFFFF#000000##FFFFFF
##26198C1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26198c;
/* rgb */ color: rgb(38, 25, 140);
/* oklch */ color: oklch(33.0% 0.176 275.8);
Tailwind
colors: {
  custom: {
    50: '#7259af',
    500: '#26198c',
    950: '#000000',
  },
}
SCSS
$custom: #26198c;
$custom-light: #7259af;
$custom-dark: #000000;
JSON
{
  "hex": "#26198c",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 246.783,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.17564,
    "h": 275.8
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#26198C
secondary
#B0BE43
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #26198C

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

Preview Lab → · Contrast checker → · Palette generator →

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