#3B25B5#3B25B5

#3B25B5 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.209 H 278.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3B25B5
RGBrgb(59, 37, 181)
HSLhsl(249, 66%, 43%)
HSVhsv(249, 80%, 71%)
CMYKcmyk(67.4%, 79.6%, 0%, 29%)
CIE-LABlab(28.35, 51.04, -71.64)
CIE-LCHlch(28.35, 87.96, 305.47°)
OKLaboklab(40.51% 0.0308 -0.2069)
OKLCHoklch(40.51% 0.209 278.5)
XYZxyz(10.8030, 5.5882, 44.2164)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B25B5 #9FB525
analogous
#2557B5 #3B25B5 #8325B5
triadic
#3B25B5 #B53B25 #25B53B
tetradic
#3B25B5 #B52557 #9FB525 #25B583
square
#3B25B5 #B52557 #9FB525 #25B583
split-complementary
#3B25B5 #B58325 #57B525
monochromatic
#1A104F #2A1B82 #3B25B5 #573FD8 #8372E2

Accessibility & contrast

On white

9.92
#3B25B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3B25B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B25B5
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B25B5#FFFFFF#000000##FFFFFF
##3B25B51.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b25b5;
/* rgb */ color: rgb(59, 37, 181);
/* oklch */ color: oklch(40.5% 0.209 278.5);
Tailwind
colors: {
  custom: {
    50: '#8364cd',
    500: '#3b25b5',
    950: '#000000',
  },
}
SCSS
$custom: #3b25b5;
$custom-light: #8364cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b25b5",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 249.167,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40506,
    "c": 0.20921,
    "h": 278.5
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#3B25B5
secondary
#BBC96D
accent
#E93FCF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3B25B5

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

Preview Lab → · Contrast checker → · Palette generator →

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