#26218E#26218E

#26218E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.171 H 274.6°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#26218E
RGBrgb(38, 33, 142)
HSLhsl(243, 62%, 34%)
HSVhsv(243, 77%, 56%)
CMYKcmyk(73.2%, 76.8%, 0%, 44.3%)
CIE-LABlab(21.77, 38.73, -58.84)
CIE-LCHlch(21.77, 70.44, 303.35°)
OKLaboklab(34.23% 0.0136 -0.1702)
OKLCHoklch(34.23% 0.171 274.6)
XYZxyz(6.2241, 3.4522, 25.9243)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26218E #898E21
analogous
#21538E #26218E #5D218E
triadic
#26218E #8E2621 #218E26
tetradic
#26218E #8E2153 #898E21 #218E5D
square
#26218E #8E2153 #898E21 #218E5D
split-complementary
#26218E #8E5D21 #538E21
monochromatic
#0B0A2B #19155C #26218E #332DC0 #5952D7

Accessibility & contrast

On white

12.42
#26218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#26218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26218E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26218E#FFFFFF#000000##FFFFFF
##26218E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #26218e;
/* rgb */ color: rgb(38, 33, 142);
/* oklch */ color: oklch(34.2% 0.171 274.6);
Tailwind
colors: {
  custom: {
    50: '#725eb0',
    500: '#26218e',
    950: '#000000',
  },
}
SCSS
$custom: #26218e;
$custom-light: #725eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#26218e",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 242.752,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34229,
    "c": 0.1707,
    "h": 274.6
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#26218E
secondary
#B6BA50
accent
#E542DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26218E

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

Preview Lab → · Contrast checker → · Palette generator →

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