#3D41C0#3D41C0

#3D41C0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.194 H 274.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3D41C0
RGBrgb(61, 65, 192)
HSLhsl(238, 52%, 50%)
HSVhsv(238, 68%, 75%)
CMYKcmyk(68.2%, 66.1%, 0%, 24.7%)
CIE-LABlab(35.16, 39.25, -66.93)
CIE-LCHlch(35.16, 77.59, 300.39°)
OKLaboklab(45.72% 0.0144 -0.1933)
OKLCHoklch(45.72% 0.194 274.3)
XYZxyz(13.3260, 8.5772, 50.8122)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D41C0 #C0BC3D
analogous
#3D83C0 #3D41C0 #7B3DC0
triadic
#3D41C0 #C03D41 #41C03D
tetradic
#3D41C0 #C03D83 #C0BC3D #3DC07B
square
#3D41C0 #C03D83 #C0BC3D #3DC07B
split-complementary
#3D41C0 #C07B3D #83C03D
monochromatic
#1F2263 #2E3192 #3D41C0 #6A6ED0 #999BDF

Accessibility & contrast

On white

7.73
#3D41C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3D41C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D41C0
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D41C0#FFFFFF#000000##FFFFFF
##3D41C01.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d41c0;
/* rgb */ color: rgb(61, 65, 192);
/* oklch */ color: oklch(45.7% 0.194 274.3);
Tailwind
colors: {
  custom: {
    50: '#8376d4',
    500: '#3d41c0',
    950: '#000000',
  },
}
SCSS
$custom: #3d41c0;
$custom-light: #8376d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d41c0",
  "rgb": {
    "r": 61,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 238.168,
    "s": 51.779,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45715,
    "c": 0.1938,
    "h": 274.3
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#3D41C0
secondary
#CAC98E
accent
#D74DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3D41C0

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

Preview Lab → · Contrast checker → · Palette generator →

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