#3A26AA#3A26AA

#3A26AA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.196 H 279.4°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3A26AA
RGBrgb(58, 38, 170)
HSLhsl(249, 63%, 41%)
HSVhsv(249, 78%, 67%)
CMYKcmyk(65.9%, 77.6%, 0%, 33.3%)
CIE-LABlab(27.26, 47.12, -66.85)
CIE-LCHlch(27.26, 81.79, 305.18°)
OKLaboklab(39.38% 0.0318 -0.193)
OKLCHoklch(39.38% 0.196 279.4)
XYZxyz(9.6914, 5.1873, 38.5129)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26AA #96AA26
analogous
#2654AA #3A26AA #7C26AA
triadic
#3A26AA #AA3A26 #26AA3A
tetradic
#3A26AA #AA2654 #96AA26 #26AA7C
square
#3A26AA #AA2654 #96AA26 #26AA7C
split-complementary
#3A26AA #AA7C26 #54AA26
monochromatic
#181046 #291B78 #3A26AA #513AD3 #7D6CDE

Accessibility & contrast

On white

10.31
#3A26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3A26AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26AA
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26AA#FFFFFF#000000##FFFFFF
##3A26AA1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a26aa;
/* rgb */ color: rgb(58, 38, 170);
/* oklch */ color: oklch(39.4% 0.196 279.4);
Tailwind
colors: {
  custom: {
    50: '#8064c5',
    500: '#3a26aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a26aa;
$custom-light: #8064c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26aa",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 249.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.19563,
    "h": 279.4
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#3A26AA
secondary
#B6C567
accent
#E641CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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