#3D41C8#3D41C8

#3D41C8 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.5% C 0.204 H 273.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3D41C8
RGBrgb(61, 65, 200)
HSLhsl(238, 56%, 51%)
HSVhsv(238, 70%, 78%)
CMYKcmyk(69.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(35.87, 41.95, -70.43)
CIE-LCHlch(35.87, 81.98, 300.78°)
OKLaboklab(46.45% 0.0136 -0.2035)
OKLCHoklch(46.45% 0.204 273.8)
XYZxyz(14.2366, 8.9415, 55.6080)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41C8 #C8C43D
analogous
#3D86C8 #3D41C8 #7E3DC8
triadic
#3D41C8 #C83D41 #41C83D
tetradic
#3D41C8 #C83D86 #C8C43D #3DC87E
square
#3D41C8 #C83D86 #C8C43D #3DC87E
split-complementary
#3D41C8 #C87E3D #86C83D
monochromatic
#1F216C #2C2F9C #3D41C8 #6D70D6 #9C9EE3

Accessibility & contrast

On white

7.53
#3D41C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3D41C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41C8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41C8#FFFFFF#000000##FFFFFF
##3D41C81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d41c8;
/* rgb */ color: rgb(61, 65, 200);
/* oklch */ color: oklch(46.5% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#8576da',
    500: '#3d41c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d41c8;
$custom-light: #8576da;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41c8",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 238.273,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46452,
    "c": 0.20397,
    "h": 273.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#3D41C8
secondary
#CFCD92
accent
#DB49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3D41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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