#26199C#26199C

#26199C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.8% C 0.195 H 273.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#26199C
RGBrgb(38, 25, 156)
HSLhsl(246, 72%, 35%)
HSVhsv(246, 84%, 61%)
CMYKcmyk(75.6%, 84%, 0%, 38.8%)
CIE-LABlab(21.97, 47.37, -67.16)
CIE-LCHlch(21.97, 82.18, 305.20°)
OKLaboklab(34.84% 0.0133 -0.1942)
OKLCHoklch(34.84% 0.195 273.9)
XYZxyz(7.1457, 3.5069, 31.7463)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26199C #8F9C19
analogous
#194D9C #26199C #67199C
triadic
#26199C #9C2619 #199C26
tetradic
#26199C #9C194D #8F9C19 #199C67
square
#26199C #9C194D #8F9C19 #199C67
split-complementary
#26199C #9C6719 #4D9C19
monochromatic
#0C0833 #191167 #26199C #3321D1 #5C4DE2

Accessibility & contrast

On white

12.34
#26199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#26199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26199C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26199C#FFFFFF#000000##FFFFFF
##26199C1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA0
Deuteranopia (green-blind)
#002E9A
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #26199c;
/* rgb */ color: rgb(38, 25, 156);
/* oklch */ color: oklch(34.8% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#765bbb',
    500: '#26199c',
    950: '#000000',
  },
}
SCSS
$custom: #26199c;
$custom-light: #765bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#26199c",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 245.954,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34842,
    "c": 0.19465,
    "h": 273.9
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#26199C
secondary
#B9C44C
accent
#EF39DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #26199C

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

Preview Lab → · Contrast checker → · Palette generator →

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