#26219F#26219F

#26219F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.192 H 272.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#26219F
RGBrgb(38, 33, 159)
HSLhsl(242, 66%, 38%)
HSVhsv(242, 79%, 62%)
CMYKcmyk(76.1%, 79.2%, 0%, 37.6%)
CIE-LABlab(23.68, 44.37, -66.16)
CIE-LCHlch(23.68, 79.66, 303.85°)
OKLaboklab(36.13% 0.0098 -0.1914)
OKLCHoklch(36.13% 0.192 272.9)
XYZxyz(7.5991, 4.0022, 33.1662)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26219F #9A9F21
analogous
#215B9F #26219F #65219F
triadic
#26219F #9F2621 #219F26
tetradic
#26219F #9F215B #9A9F21 #219F65
square
#26219F #9F215B #9A9F21 #219F65
split-complementary
#26219F #9F6521 #5B9F21
monochromatic
#0E0C3A #1A166C #26219F #322CD2 #625DDD

Accessibility & contrast

On white

11.66
#26219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#26219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26219F
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26219F#FFFFFF#000000##FFFFFF
##26219F1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26219f;
/* rgb */ color: rgb(38, 33, 159);
/* oklch */ color: oklch(36.1% 0.192 272.9);
Tailwind
colors: {
  custom: {
    50: '#765fbd',
    500: '#26219f',
    950: '#000000',
  },
}
SCSS
$custom: #26219f;
$custom-light: #765fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#26219f",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 242.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.19169,
    "h": 272.9
  },
  "luminance": 0.04003
}

Semantic roles & 50–950 ramp

primary
#26219F
secondary
#BEC25A
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26219F

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

Preview Lab → · Contrast checker → · Palette generator →

#26219F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva