#3B26A8#3B26A8

#3B26A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.3% C 0.193 H 280.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3B26A8
RGBrgb(59, 38, 168)
HSLhsl(250, 63%, 40%)
HSVhsv(250, 77%, 66%)
CMYKcmyk(64.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(27.14, 46.61, -65.85)
CIE-LCHlch(27.14, 80.68, 305.29°)
OKLaboklab(39.25% 0.0338 -0.1901)
OKLCHoklch(39.25% 0.193 280.1)
XYZxyz(9.5624, 5.1424, 37.5269)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B26A8 #93A826
analogous
#2652A8 #3B26A8 #7C26A8
triadic
#3B26A8 #A83B26 #26A83B
tetradic
#3B26A8 #A82652 #93A826 #26A87C
square
#3B26A8 #A82652 #93A826 #26A87C
split-complementary
#3B26A8 #A87C26 #52A826
monochromatic
#180F44 #291B76 #3B26A8 #5239D2 #7D6BDE

Accessibility & contrast

On white

10.35
#3B26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3B26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B26A8
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B26A8#FFFFFF#000000##FFFFFF
##3B26A81.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b26a8;
/* rgb */ color: rgb(59, 38, 168);
/* oklch */ color: oklch(39.3% 0.193 280.1);
Tailwind
colors: {
  custom: {
    50: '#8064c3',
    500: '#3b26a8',
    950: '#000000',
  },
}
SCSS
$custom: #3b26a8;
$custom-light: #8064c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b26a8",
  "rgb": {
    "r": 59,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 249.692,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.19305,
    "h": 280.1
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#3B26A8
secondary
#B5C466
accent
#E642CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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