#26218F#26218F

#26218F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.172 H 274.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#26218F
RGBrgb(38, 33, 143)
HSLhsl(243, 63%, 35%)
HSVhsv(243, 77%, 56%)
CMYKcmyk(73.4%, 76.9%, 0%, 43.9%)
CIE-LABlab(21.88, 39.07, -59.28)
CIE-LCHlch(21.88, 70.99, 303.39°)
OKLaboklab(34.34% 0.0134 -0.1714)
OKLCHoklch(34.34% 0.172 274.5)
XYZxyz(6.2995, 3.4823, 26.3214)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26218F #8A8F21
analogous
#21538F #26218F #5D218F
triadic
#26218F #8F2621 #218F26
tetradic
#26218F #8F2153 #8A8F21 #218F5D
square
#26218F #8F2153 #8A8F21 #218F5D
split-complementary
#26218F #8F5D21 #538F21
monochromatic
#0C0A2C #19165D #26218F #332CC1 #5953D7

Accessibility & contrast

On white

12.38
#26218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#26218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #26218F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26218F#FFFFFF#000000##FFFFFF
##26218F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26218f;
/* rgb */ color: rgb(38, 33, 143);
/* oklch */ color: oklch(34.3% 0.172 274.5);
Tailwind
colors: {
  custom: {
    50: '#725eb1',
    500: '#26218f',
    950: '#000000',
  },
}
SCSS
$custom: #26218f;
$custom-light: #725eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#26218f",
  "rgb": {
    "r": 38,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 242.727,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34339,
    "c": 0.17197,
    "h": 274.5
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#26218F
secondary
#B6BB51
accent
#E642DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #26218F

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

Preview Lab → · Contrast checker → · Palette generator →

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