#3B26B7#3B26B7

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

Color values

HEX#3B26B7
RGBrgb(59, 38, 183)
HSLhsl(249, 66%, 43%)
HSVhsv(249, 79%, 72%)
CMYKcmyk(67.8%, 79.2%, 0%, 28.2%)
CIE-LABlab(28.73, 51.16, -72.20)
CIE-LCHlch(28.73, 88.49, 305.32°)
OKLaboklab(40.84% 0.0297 -0.2086)
OKLCHoklch(40.84% 0.211 278.1)
XYZxyz(11.0412, 5.7340, 45.3155)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B26B7 #A2B726
analogous
#2659B7 #3B26B7 #8326B7
triadic
#3B26B7 #B73B26 #26B73B
tetradic
#3B26B7 #B72659 #A2B726 #26B783
square
#3B26B7 #B72659 #A2B726 #26B783
split-complementary
#3B26B7 #B78326 #59B726
monochromatic
#1A1152 #2B1B84 #3B26B7 #5842D8 #8575E2

Accessibility & contrast

On white

9.78
#3B26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3B26B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B26B7
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B26B7#FFFFFF#000000##FFFFFF
##3B26B71.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b26b7;
/* rgb */ color: rgb(59, 38, 183);
/* oklch */ color: oklch(40.8% 0.211 278.1);
Tailwind
colors: {
  custom: {
    50: '#8365ce',
    500: '#3b26b7',
    950: '#000000',
  },
}
SCSS
$custom: #3b26b7;
$custom-light: #8365ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3b26b7",
  "rgb": {
    "r": 59,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 248.69,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.21068,
    "h": 278.1
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B26B7

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

Preview Lab → · Contrast checker → · Palette generator →

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