#3A26B7#3A26B7

#3A26B7 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.211 H 277.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3A26B7
RGBrgb(58, 38, 183)
HSLhsl(248, 66%, 43%)
HSVhsv(248, 79%, 72%)
CMYKcmyk(68.3%, 79.2%, 0%, 28.2%)
CIE-LABlab(28.65, 51.07, -72.33)
CIE-LCHlch(28.65, 88.54, 305.22°)
OKLaboklab(40.76% 0.0283 -0.209)
OKLCHoklch(40.76% 0.211 277.7)
XYZxyz(10.9825, 5.7037, 45.3127)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26B7 #A3B726
analogous
#265AB7 #3A26B7 #8226B7
triadic
#3A26B7 #B73A26 #26B73A
tetradic
#3A26B7 #B7265A #A3B726 #26B782
square
#3A26B7 #B7265A #A3B726 #26B782
split-complementary
#3A26B7 #B78226 #5AB726
monochromatic
#1A1152 #2A1B84 #3A26B7 #5742D8 #8475E2

Accessibility & contrast

On white

9.81
#3A26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26B7
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26B7#FFFFFF#000000##FFFFFF
##3A26B71.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00526F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a26b7;
/* rgb */ color: rgb(58, 38, 183);
/* oklch */ color: oklch(40.8% 0.211 277.7);
Tailwind
colors: {
  custom: {
    50: '#8265ce',
    500: '#3a26b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a26b7;
$custom-light: #8265ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26b7",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 248.276,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40761,
    "c": 0.21089,
    "h": 277.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#3A26B7
secondary
#BDCA6F
accent
#E93FD1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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