#3B41D2#3B41D2

#3B41D2 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.3% C 0.217 H 272.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3B41D2
RGBrgb(59, 65, 210)
HSLhsl(238, 63%, 53%)
HSVhsv(238, 72%, 82%)
CMYKcmyk(71.9%, 69%, 0%, 17.6%)
CIE-LABlab(36.67, 45.09, -74.92)
CIE-LCHlch(36.67, 87.44, 301.04°)
OKLaboklab(47.28% 0.0102 -0.2167)
OKLCHoklch(47.28% 0.217 272.7)
XYZxyz(15.3229, 9.3620, 61.9598)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B41D2 #D2CC3B
analogous
#3B8CD2 #3B41D2 #803BD2
triadic
#3B41D2 #D23B41 #41D23B
tetradic
#3B41D2 #D23B8C #D2CC3B #3BD280
square
#3B41D2 #D23B8C #D2CC3B #3BD280
split-complementary
#3B41D2 #D2803B #8CD23B
monochromatic
#1B1F77 #272CA9 #3B41D2 #6D71DD #9FA1E9

Accessibility & contrast

On white

7.31
#3B41D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3B41D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B41D2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B41D2#FFFFFF#000000##FFFFFF
##3B41D21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD6
Deuteranopia (green-blind)
#004FCF
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3b41d2;
/* rgb */ color: rgb(59, 65, 210);
/* oklch */ color: oklch(47.3% 0.217 272.7);
Tailwind
colors: {
  custom: {
    50: '#8676e1',
    500: '#3b41d2',
    950: '#000000',
  },
}
SCSS
$custom: #3b41d2;
$custom-light: #8676e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b41d2",
  "rgb": {
    "r": 59,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 237.616,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.21692,
    "h": 272.7
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#3B41D2
secondary
#D5D394
accent
#DF42E6
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #3B41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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