#26218A#26218A

#26218A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.166 H 275.0°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#26218A
RGBrgb(38, 33, 138)
HSLhsl(243, 61%, 34%)
HSVhsv(243, 76%, 54%)
CMYKcmyk(72.5%, 76.1%, 0%, 45.9%)
CIE-LABlab(21.34, 37.37, -57.06)
CIE-LCHlch(21.34, 68.21, 303.22°)
OKLaboklab(33.79% 0.0144 -0.165)
OKLCHoklch(33.79% 0.166 275)
XYZxyz(5.9291, 3.3342, 24.3709)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26218A #858A21
analogous
#21508A #26218A #5A218A
triadic
#26218A #8A2621 #218A26
tetradic
#26218A #8A2150 #858A21 #218A5A
square
#26218A #8A2150 #858A21 #218A5A
split-complementary
#26218A #8A5A21 #508A21
monochromatic
#0B0927 #181559 #26218A #342DBB #5750D5

Accessibility & contrast

On white

12.60
#26218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#26218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26218A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26218A#FFFFFF#000000##FFFFFF
##26218A1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #26218a;
/* rgb */ color: rgb(38, 33, 138);
/* oklch */ color: oklch(33.8% 0.166 275.0);
Tailwind
colors: {
  custom: {
    50: '#715ead',
    500: '#26218a',
    950: '#000000',
  },
}
SCSS
$custom: #26218a;
$custom-light: #715ead;
$custom-dark: #000000;
JSON
{
  "hex": "#26218a",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 242.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.16562,
    "h": 275
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#26218A
secondary
#B3B94E
accent
#E543DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #26218A

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

Preview Lab → · Contrast checker → · Palette generator →

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