#3A26BA#3A26BA

#3A26BA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.214 H 277.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#3A26BA
RGBrgb(58, 38, 186)
HSLhsl(248, 66%, 44%)
HSVhsv(248, 80%, 73%)
CMYKcmyk(68.8%, 79.6%, 0%, 27.1%)
CIE-LABlab(28.98, 51.97, -73.57)
CIE-LCHlch(28.98, 90.08, 305.24°)
OKLaboklab(41.08% 0.0275 -0.2126)
OKLCHoklch(41.08% 0.214 277.4)
XYZxyz(11.2981, 5.8299, 46.9747)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26BA #A6BA26
analogous
#265CBA #3A26BA #8426BA
triadic
#3A26BA #BA3A26 #26BA3A
tetradic
#3A26BA #BA265C #A6BA26 #26BA84
square
#3A26BA #BA265C #A6BA26 #26BA84
split-complementary
#3A26BA #BA8426 #5CBA26
monochromatic
#1A1154 #2A1C87 #3A26BA #5844D9 #8677E3

Accessibility & contrast

On white

9.69
#3A26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A26BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26BA
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26BA#FFFFFF#000000##FFFFFF
##3A26BA1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a26ba;
/* rgb */ color: rgb(58, 38, 186);
/* oklch */ color: oklch(41.1% 0.214 277.4);
Tailwind
colors: {
  custom: {
    50: '#8365d0',
    500: '#3a26ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a26ba;
$custom-light: #8365d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26ba",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 248.108,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41084,
    "c": 0.21436,
    "h": 277.4
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#3A26BA
secondary
#BFCB71
accent
#E93FD2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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