#3D41B7#3D41B7

#3D41B7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.182 H 274.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3D41B7
RGBrgb(61, 65, 183)
HSLhsl(238, 50%, 48%)
HSVhsv(238, 67%, 72%)
CMYKcmyk(66.7%, 64.5%, 0%, 28.2%)
CIE-LABlab(34.38, 36.17, -62.91)
CIE-LCHlch(34.38, 72.57, 299.90°)
OKLaboklab(44.91% 0.0152 -0.1815)
OKLCHoklch(44.91% 0.182 274.8)
XYZxyz(12.3592, 8.1905, 45.7202)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41B7 #B7B33D
analogous
#3D7EB7 #3D41B7 #763DB7
triadic
#3D41B7 #B73D41 #41B73D
tetradic
#3D41B7 #B73D7E #B7B33D #3DB776
square
#3D41B7 #B73D7E #B7B33D #3DB776
split-complementary
#3D41B7 #B7763D #7EB73D
monochromatic
#1E205B #2E3189 #3D41B7 #6569CC #9396DB

Accessibility & contrast

On white

7.96
#3D41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3D41B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41B7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41B7#FFFFFF#000000##FFFFFF
##3D41B71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d41b7;
/* rgb */ color: rgb(61, 65, 183);
/* oklch */ color: oklch(44.9% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#8276ce',
    500: '#3d41b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d41b7;
$custom-light: #8276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41b7",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 238.033,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.18213,
    "h": 274.8
  },
  "luminance": 0.08192
}

Semantic roles & 50–950 ramp

primary
#3D41B7
secondary
#C6C489
accent
#D54EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3D41B7

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

Preview Lab → · Contrast checker → · Palette generator →

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