#3A26A3#3A26A3

#3A26A3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.187 H 280.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3A26A3
RGBrgb(58, 38, 163)
HSLhsl(250, 62%, 39%)
HSVhsv(250, 77%, 64%)
CMYKcmyk(64.4%, 76.7%, 0%, 36.1%)
CIE-LABlab(26.53, 44.96, -63.83)
CIE-LCHlch(26.53, 78.07, 305.16°)
OKLaboklab(38.65% 0.0336 -0.1842)
OKLCHoklch(38.65% 0.187 280.3)
XYZxyz(9.0468, 4.9294, 35.1180)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26A3 #8FA326
analogous
#2651A3 #3A26A3 #7926A3
triadic
#3A26A3 #A33A26 #26A33A
tetradic
#3A26A3 #A32651 #8FA326 #26A379
square
#3A26A3 #A32651 #8FA326 #26A379
split-complementary
#3A26A3 #A37926 #51A326
monochromatic
#170F40 #281A71 #3A26A3 #4F36D0 #7A68DC

Accessibility & contrast

On white

10.57
#3A26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A26A3
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26A3#FFFFFF#000000##FFFFFF
##3A26A31.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a26a3;
/* rgb */ color: rgb(58, 38, 163);
/* oklch */ color: oklch(38.6% 0.187 280.3);
Tailwind
colors: {
  custom: {
    50: '#7e63bf',
    500: '#3a26a3',
    950: '#000000',
  },
}
SCSS
$custom: #3a26a3;
$custom-light: #7e63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26a3",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 249.6,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.18724,
    "h": 280.3
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#3A26A3
secondary
#B3C263
accent
#E543CB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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