#3D41B8#3D41B8

#3D41B8 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.183 H 274.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3D41B8
RGBrgb(61, 65, 184)
HSLhsl(238, 50%, 48%)
HSVhsv(238, 67%, 72%)
CMYKcmyk(66.8%, 64.7%, 0%, 27.8%)
CIE-LABlab(34.46, 36.51, -63.36)
CIE-LCHlch(34.46, 73.13, 299.95°)
OKLaboklab(44.99% 0.0151 -0.1828)
OKLCHoklch(44.99% 0.183 274.7)
XYZxyz(12.4636, 8.2323, 46.2703)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41B8 #B8B43D
analogous
#3D7EB8 #3D41B8 #763DB8
triadic
#3D41B8 #B83D41 #41B83D
tetradic
#3D41B8 #B83D7E #B8B43D #3DB876
square
#3D41B8 #B83D7E #B8B43D #3DB876
split-complementary
#3D41B8 #B8763D #7EB83D
monochromatic
#1F215C #2E318A #3D41B8 #6669CC #9496DB

Accessibility & contrast

On white

7.93
#3D41B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3D41B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41B8
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41B8#FFFFFF#000000##FFFFFF
##3D41B81.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004CB6
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d41b8;
/* rgb */ color: rgb(61, 65, 184);
/* oklch */ color: oklch(45.0% 0.183 274.7);
Tailwind
colors: {
  custom: {
    50: '#8276ce',
    500: '#3d41b8',
    950: '#000000',
  },
}
SCSS
$custom: #3d41b8;
$custom-light: #8276ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41b8",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 238.049,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.18344,
    "h": 274.7
  },
  "luminance": 0.08233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D41B8

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

Preview Lab → · Contrast checker → · Palette generator →

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