#3A26C2#3A26C2

#3A26C2 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.0% C 0.224 H 276.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3A26C2
RGBrgb(58, 38, 194)
HSLhsl(248, 67%, 45%)
HSVhsv(248, 80%, 76%)
CMYKcmyk(70.1%, 80.4%, 0%, 23.9%)
CIE-LABlab(29.86, 54.35, -76.84)
CIE-LCHlch(29.86, 94.12, 305.27°)
OKLaboklab(41.96% 0.0253 -0.2221)
OKLCHoklch(41.96% 0.224 276.5)
XYZxyz(12.1725, 6.1797, 51.5798)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26C2 #AEC226
analogous
#2660C2 #3A26C2 #8826C2
triadic
#3A26C2 #C23A26 #26C23A
tetradic
#3A26C2 #C22660 #AEC226 #26C288
square
#3A26C2 #C22660 #AEC226 #26C288
split-complementary
#3A26C2 #C28826 #60C226
monochromatic
#1B125C #2B1C8F #3A26C2 #5C4ADB #8A7DE6

Accessibility & contrast

On white

9.39
#3A26C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3A26C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26C2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26C2#FFFFFF#000000##FFFFFF
##3A26C21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a26c2;
/* rgb */ color: rgb(58, 38, 194);
/* oklch */ color: oklch(42.0% 0.224 276.5);
Tailwind
colors: {
  custom: {
    50: '#8565d6',
    500: '#3a26c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a26c2;
$custom-light: #8565d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26c2",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 194
  },
  "hsl": {
    "h": 247.692,
    "s": 67.241,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41955,
    "c": 0.22352,
    "h": 276.5
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#3A26C2
secondary
#C2CE76
accent
#EA3ED4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A26C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3A26C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva