#3A26B3#3A26B3

#3A26B3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.206 H 278.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3A26B3
RGBrgb(58, 38, 179)
HSLhsl(249, 65%, 43%)
HSVhsv(249, 79%, 70%)
CMYKcmyk(67.6%, 78.8%, 0%, 29.8%)
CIE-LABlab(28.22, 49.86, -70.67)
CIE-LCHlch(28.22, 86.48, 305.21°)
OKLaboklab(40.33% 0.0294 -0.2041)
OKLCHoklch(40.33% 0.206 278.2)
XYZxyz(10.5721, 5.5395, 43.1512)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26B3 #9FB326
analogous
#2658B3 #3A26B3 #8126B3
triadic
#3A26B3 #B33A26 #26B33A
tetradic
#3A26B3 #B32658 #9FB326 #26B381
square
#3A26B3 #B32658 #9FB326 #26B381
split-complementary
#3A26B3 #B38126 #58B326
monochromatic
#19114E #2A1B81 #3A26B3 #5540D6 #8272E1

Accessibility & contrast

On white

9.96
#3A26B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A26B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26B3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26B3#FFFFFF#000000##FFFFFF
##3A26B31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a26b3;
/* rgb */ color: rgb(58, 38, 179);
/* oklch */ color: oklch(40.3% 0.206 278.2);
Tailwind
colors: {
  custom: {
    50: '#8264cb',
    500: '#3a26b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a26b3;
$custom-light: #8264cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26b3",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 179
  },
  "hsl": {
    "h": 248.511,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.20623,
    "h": 278.2
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#3A26B3
secondary
#BBC86D
accent
#E840D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A26B3

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

Preview Lab → · Contrast checker → · Palette generator →

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