#3A26B1#3A26B1

#3A26B1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.1% C 0.204 H 278.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3A26B1
RGBrgb(58, 38, 177)
HSLhsl(249, 65%, 42%)
HSVhsv(249, 79%, 69%)
CMYKcmyk(67.2%, 78.5%, 0%, 30.6%)
CIE-LABlab(28.00, 49.25, -69.83)
CIE-LCHlch(28.00, 85.45, 305.20°)
OKLaboklab(40.12% 0.0299 -0.2017)
OKLCHoklch(40.12% 0.204 278.4)
XYZxyz(10.3713, 5.4592, 42.0936)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26B1 #9DB126
analogous
#2658B1 #3A26B1 #8026B1
triadic
#3A26B1 #B13A26 #26B13A
tetradic
#3A26B1 #B12658 #9DB126 #26B180
square
#3A26B1 #B12658 #9DB126 #26B180
split-complementary
#3A26B1 #B18026 #58B126
monochromatic
#19104C #291B7F #3A26B1 #543FD6 #8171E0

Accessibility & contrast

On white

10.04
#3A26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26B1
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26B1#FFFFFF#000000##FFFFFF
##3A26B11.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a26b1;
/* rgb */ color: rgb(58, 38, 177);
/* oklch */ color: oklch(40.1% 0.204 278.4);
Tailwind
colors: {
  custom: {
    50: '#8164ca',
    500: '#3a26b1',
    950: '#000000',
  },
}
SCSS
$custom: #3a26b1;
$custom-light: #8164ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26b1",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 248.633,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.2039,
    "h": 278.4
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#3A26B1
secondary
#BAC76B
accent
#E840D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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