#26217D#26217D

#26217D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.149 H 276.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#26217D
RGBrgb(38, 33, 125)
HSLhsl(243, 58%, 31%)
HSVhsv(243, 74%, 49%)
CMYKcmyk(69.6%, 73.6%, 0%, 51%)
CIE-LABlab(19.96, 32.87, -51.13)
CIE-LCHlch(19.96, 60.78, 302.74°)
OKLaboklab(32.4% 0.017 -0.1477)
OKLCHoklch(32.4% 0.149 276.5)
XYZxyz(5.0436, 2.9800, 19.7075)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26217D #787D21
analogous
#214A7D #26217D #54217D
triadic
#26217D #7D2621 #217D26
tetradic
#26217D #7D214A #787D21 #217D54
square
#26217D #7D214A #787D21 #217D54
split-complementary
#26217D #7D5421 #4A7D21
monochromatic
#09071C #17144D #26217D #352EAD #5149CF

Accessibility & contrast

On white

13.16
#26217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#26217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26217D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26217D#FFFFFF#000000##FFFFFF
##26217D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #26217d;
/* rgb */ color: rgb(38, 33, 125);
/* oklch */ color: oklch(32.4% 0.149 276.5);
Tailwind
colors: {
  custom: {
    50: '#6d5da4',
    500: '#26217d',
    950: '#000000',
  },
}
SCSS
$custom: #26217d;
$custom-light: #6d5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#26217d",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 243.261,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.14865,
    "h": 276.5
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#26217D
secondary
#AAB04A
accent
#E146D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #26217D

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

Preview Lab → · Contrast checker → · Palette generator →

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