#3D41BB#3D41BB

#3D41BB is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.187 H 274.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3D41BB
RGBrgb(61, 65, 187)
HSLhsl(238, 51%, 49%)
HSVhsv(238, 67%, 73%)
CMYKcmyk(67.4%, 65.2%, 0%, 26.7%)
CIE-LABlab(34.72, 37.54, -64.71)
CIE-LCHlch(34.72, 74.81, 300.12°)
OKLaboklab(45.26% 0.0149 -0.1867)
OKLCHoklch(45.26% 0.187 274.6)
XYZxyz(12.7814, 8.3594, 47.9440)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41BB #BBB73D
analogous
#3D80BB #3D41BB #783DBB
triadic
#3D41BB #BB3D41 #41BB3D
tetradic
#3D41BB #BB3D80 #BBB73D #3DBB78
square
#3D41BB #BB3D80 #BBB73D #3DBB78
split-complementary
#3D41BB #BB783D #80BB3D
monochromatic
#1F215F #2E318D #3D41BB #686BCE #9698DD

Accessibility & contrast

On white

7.86
#3D41BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D41BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41BB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41BB#FFFFFF#000000##FFFFFF
##3D41BB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d41bb;
/* rgb */ color: rgb(61, 65, 187);
/* oklch */ color: oklch(45.3% 0.187 274.6);
Tailwind
colors: {
  custom: {
    50: '#8276d0',
    500: '#3d41bb',
    950: '#000000',
  },
}
SCSS
$custom: #3d41bb;
$custom-light: #8276d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41bb",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 238.095,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45263,
    "c": 0.18734,
    "h": 274.6
  },
  "luminance": 0.08361
}

Semantic roles & 50–950 ramp

primary
#3D41BB
secondary
#C8C68C
accent
#D64EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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