#26219E#26219E

#26219E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.190 H 273.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#26219E
RGBrgb(38, 33, 158)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 62%)
CMYKcmyk(75.9%, 79.1%, 0%, 38%)
CIE-LABlab(23.56, 44.05, -65.74)
CIE-LCHlch(23.56, 79.13, 303.82°)
OKLaboklab(36.02% 0.01 -0.1902)
OKLCHoklch(36.02% 0.19 273)
XYZxyz(7.5127, 3.9676, 32.7110)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26219E #999E21
analogous
#215B9E #26219E #65219E
triadic
#26219E #9E2621 #219E26
tetradic
#26219E #9E215B #999E21 #219E65
square
#26219E #9E215B #999E21 #219E65
split-complementary
#26219E #9E6521 #5B9E21
monochromatic
#0E0C39 #1A166B #26219E #322CD1 #625CDD

Accessibility & contrast

On white

11.71
#26219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#26219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26219E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26219E#FFFFFF#000000##FFFFFF
##26219E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #26219e;
/* rgb */ color: rgb(38, 33, 158);
/* oklch */ color: oklch(36.0% 0.190 273.0);
Tailwind
colors: {
  custom: {
    50: '#765fbc',
    500: '#26219e',
    950: '#000000',
  },
}
SCSS
$custom: #26219e;
$custom-light: #765fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#26219e",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 242.4,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36019,
    "c": 0.19047,
    "h": 273
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#26219E
secondary
#BDC159
accent
#E83FE2
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26219E

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

Preview Lab → · Contrast checker → · Palette generator →

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