#3A26A4#3A26A4

#3A26A4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.188 H 280.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3A26A4
RGBrgb(58, 38, 164)
HSLhsl(250, 62%, 40%)
HSVhsv(250, 77%, 64%)
CMYKcmyk(64.6%, 76.8%, 0%, 35.7%)
CIE-LABlab(26.64, 45.27, -64.26)
CIE-LCHlch(26.64, 78.61, 305.16°)
OKLaboklab(38.75% 0.0334 -0.1855)
OKLCHoklch(38.75% 0.188 280.2)
XYZxyz(9.1367, 4.9654, 35.5917)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26A4 #90A426
analogous
#2651A4 #3A26A4 #7926A4
triadic
#3A26A4 #A43A26 #26A43A
tetradic
#3A26A4 #A42651 #90A426 #26A479
square
#3A26A4 #A42651 #90A426 #26A479
split-complementary
#3A26A4 #A47926 #51A426
monochromatic
#170F41 #281A72 #3A26A4 #4F37D1 #7B68DC

Accessibility & contrast

On white

10.54
#3A26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3A26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26A4
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26A4#FFFFFF#000000##FFFFFF
##3A26A41.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a26a4;
/* rgb */ color: rgb(58, 38, 164);
/* oklch */ color: oklch(38.8% 0.188 280.2);
Tailwind
colors: {
  custom: {
    50: '#7f63c0',
    500: '#3a26a4',
    950: '#000000',
  },
}
SCSS
$custom: #3a26a4;
$custom-light: #7f63c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26a4",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 249.524,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.18845,
    "h": 280.2
  },
  "luminance": 0.04966
}

Semantic roles & 50–950 ramp

primary
#3A26A4
secondary
#B3C264
accent
#E542CC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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