#26219A#26219A

#26219A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.186 H 273.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#26219A
RGBrgb(38, 33, 154)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 60%)
CMYKcmyk(75.3%, 78.6%, 0%, 39.6%)
CIE-LABlab(23.11, 42.73, -64.04)
CIE-LCHlch(23.11, 76.99, 303.72°)
OKLaboklab(35.57% 0.0109 -0.1853)
OKLCHoklch(35.57% 0.186 273.4)
XYZxyz(7.1740, 3.8321, 30.9272)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26219A #959A21
analogous
#21599A #26219A #63219A
triadic
#26219A #9A2621 #219A26
tetradic
#26219A #9A2159 #959A21 #219A63
square
#26219A #9A2159 #959A21 #219A63
split-complementary
#26219A #9A6321 #599A21
monochromatic
#0D0B35 #1A1668 #26219A #322CCC #5F5ADC

Accessibility & contrast

On white

11.89
#26219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#26219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26219A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26219A#FFFFFF#000000##FFFFFF
##26219A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26219a;
/* rgb */ color: rgb(38, 33, 154);
/* oklch */ color: oklch(35.6% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#755fb9',
    500: '#26219a',
    950: '#000000',
  },
}
SCSS
$custom: #26219a;
$custom-light: #755fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#26219a",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 242.479,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35566,
    "c": 0.18561,
    "h": 273.4
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#26219A
secondary
#BBC057
accent
#E840E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #26219A

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

Preview Lab → · Contrast checker → · Palette generator →

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