#26218D#26218D

#26218D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.169 H 274.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#26218D
RGBrgb(38, 33, 141)
HSLhsl(243, 62%, 34%)
HSVhsv(243, 77%, 55%)
CMYKcmyk(73%, 76.6%, 0%, 44.7%)
CIE-LABlab(21.66, 38.39, -58.40)
CIE-LCHlch(21.66, 69.88, 303.32°)
OKLaboklab(34.12% 0.0138 -0.1689)
OKLCHoklch(34.12% 0.169 274.7)
XYZxyz(6.1493, 3.4223, 25.5306)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26218D #888D21
analogous
#21528D #26218D #5C218D
triadic
#26218D #8D2621 #218D26
tetradic
#26218D #8D2152 #888D21 #218D5C
square
#26218D #8D2152 #888D21 #218D5C
split-complementary
#26218D #8D5C21 #528D21
monochromatic
#0B0A2A #19155B #26218D #332DBF #5852D6

Accessibility & contrast

On white

12.47
#26218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#26218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26218D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26218D#FFFFFF#000000##FFFFFF
##26218D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26218d;
/* rgb */ color: rgb(38, 33, 141);
/* oklch */ color: oklch(34.1% 0.169 274.7);
Tailwind
colors: {
  custom: {
    50: '#715eaf',
    500: '#26218d',
    950: '#000000',
  },
}
SCSS
$custom: #26218d;
$custom-light: #715eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#26218d",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 242.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34119,
    "c": 0.16944,
    "h": 274.7
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#26218D
secondary
#B5BA50
accent
#E543DE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #26218D

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

Preview Lab → · Contrast checker → · Palette generator →

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