#26219B#26219B

#26219B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.187 H 273.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#26219B
RGBrgb(38, 33, 155)
HSLhsl(242, 65%, 37%)
HSVhsv(242, 79%, 61%)
CMYKcmyk(75.5%, 78.7%, 0%, 39.2%)
CIE-LABlab(23.22, 43.06, -64.47)
CIE-LCHlch(23.22, 77.53, 303.74°)
OKLaboklab(35.68% 0.0107 -0.1865)
OKLCHoklch(35.68% 0.187 273.3)
XYZxyz(7.2576, 3.8656, 31.3676)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26219B #969B21
analogous
#21599B #26219B #63219B
triadic
#26219B #9B2621 #219B26
tetradic
#26219B #9B2159 #969B21 #219B63
square
#26219B #9B2159 #969B21 #219B63
split-complementary
#26219B #9B6321 #599B21
monochromatic
#0D0C36 #1A1669 #26219B #322CCD #605ADC

Accessibility & contrast

On white

11.84
#26219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #26219B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26219B#FFFFFF#000000##FFFFFF
##26219B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9E
Deuteranopia (green-blind)
#003199
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #26219b;
/* rgb */ color: rgb(38, 33, 155);
/* oklch */ color: oklch(35.7% 0.187 273.3);
Tailwind
colors: {
  custom: {
    50: '#755fba',
    500: '#26219b',
    950: '#000000',
  },
}
SCSS
$custom: #26219b;
$custom-light: #755fba;
$custom-dark: #000000;
JSON
{
  "hex": "#26219b",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 242.459,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35679,
    "c": 0.18684,
    "h": 273.3
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #26219B

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

Preview Lab → · Contrast checker → · Palette generator →

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