#3D4CC4#3D4CC4

#3D4CC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.186 H 271.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3D4CC4
RGBrgb(61, 76, 196)
HSLhsl(233, 53%, 50%)
HSVhsv(233, 69%, 77%)
CMYKcmyk(68.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(38.10, 33.78, -64.45)
CIE-LCHlch(38.10, 72.77, 297.66°)
OKLaboklab(47.98% 0.0061 -0.1859)
OKLCHoklch(47.98% 0.186 271.9)
XYZxyz(14.4694, 10.1451, 53.4095)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4CC4 #C4B53D
analogous
#3D90C4 #3D4CC4 #713DC4
triadic
#3D4CC4 #C43D4C #4CC43D
tetradic
#3D4CC4 #C43D90 #C4B53D #3DC471
square
#3D4CC4 #C43D90 #C4B53D #3DC471
split-complementary
#3D4CC4 #C4713D #90C43D
monochromatic
#1F2767 #2E3996 #3D4CC4 #6C77D2 #9BA3E1

Accessibility & contrast

On white

6.93
#3D4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3D4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4CC4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4CC4#FFFFFF#000000##FFFFFF
##3D4CC41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4cc4;
/* rgb */ color: rgb(61, 76, 196);
/* oklch */ color: oklch(48.0% 0.186 271.9);
Tailwind
colors: {
  custom: {
    50: '#837ed7',
    500: '#3d4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3d4cc4;
$custom-light: #837ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4cc4",
  "rgb": {
    "r": 61,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 233.333,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47977,
    "c": 0.18603,
    "h": 271.9
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#3D4CC4
secondary
#CDC690
accent
#CD4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3D4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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