#3A26AB#3A26AB

#3A26AB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.5% C 0.197 H 279.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3A26AB
RGBrgb(58, 38, 171)
HSLhsl(249, 64%, 41%)
HSVhsv(249, 78%, 67%)
CMYKcmyk(66.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(27.37, 47.42, -67.28)
CIE-LCHlch(27.37, 82.31, 305.18°)
OKLaboklab(39.48% 0.0315 -0.1943)
OKLCHoklch(39.48% 0.197 279.2)
XYZxyz(9.7864, 5.2252, 39.0130)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26AB #97AB26
analogous
#2654AB #3A26AB #7C26AB
triadic
#3A26AB #AB3A26 #26AB3A
tetradic
#3A26AB #AB2654 #97AB26 #26AB7C
square
#3A26AB #AB2654 #97AB26 #26AB7C
split-complementary
#3A26AB #AB7C26 #54AB26
monochromatic
#181047 #291B79 #3A26AB #523BD3 #7E6DDF

Accessibility & contrast

On white

10.27
#3A26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3A26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26AB
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26AB#FFFFFF#000000##FFFFFF
##3A26AB1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3a26ab;
/* rgb */ color: rgb(58, 38, 171);
/* oklch */ color: oklch(39.5% 0.197 279.2);
Tailwind
colors: {
  custom: {
    50: '#8064c5',
    500: '#3a26ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a26ab;
$custom-light: #8064c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26ab",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 249.023,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39483,
    "c": 0.19682,
    "h": 279.2
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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