#3A26AD#3A26AD

#3A26AD is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.199 H 279.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3A26AD
RGBrgb(58, 38, 173)
HSLhsl(249, 64%, 41%)
HSVhsv(249, 78%, 68%)
CMYKcmyk(66.5%, 78%, 0%, 32.2%)
CIE-LABlab(27.58, 48.03, -68.13)
CIE-LCHlch(27.58, 83.36, 305.18°)
OKLaboklab(39.69% 0.031 -0.1968)
OKLCHoklch(39.69% 0.199 279)
XYZxyz(9.9784, 5.3021, 40.0246)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26AD #99AD26
analogous
#2656AD #3A26AD #7E26AD
triadic
#3A26AD #AD3A26 #26AD3A
tetradic
#3A26AD #AD2656 #99AD26 #26AD7E
square
#3A26AD #AD2656 #99AD26 #26AD7E
split-complementary
#3A26AD #AD7E26 #56AD26
monochromatic
#181049 #291B7B #3A26AD #533CD4 #7F6EDF

Accessibility & contrast

On white

10.19
#3A26AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3A26AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26AD
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26AD#FFFFFF#000000##FFFFFF
##3A26AD1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a26ad;
/* rgb */ color: rgb(58, 38, 173);
/* oklch */ color: oklch(39.7% 0.199 279.0);
Tailwind
colors: {
  custom: {
    50: '#8064c7',
    500: '#3a26ad',
    950: '#000000',
  },
}
SCSS
$custom: #3a26ad;
$custom-light: #8064c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26ad",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 248.889,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.19919,
    "h": 279
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#3A26AD
secondary
#B8C669
accent
#E741CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A26AD

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

Preview Lab → · Contrast checker → · Palette generator →

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