#3D4ACC#3D4ACC

#3D4ACC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.199 H 272.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3D4ACC
RGBrgb(61, 74, 204)
HSLhsl(235, 58%, 52%)
HSVhsv(235, 70%, 80%)
CMYKcmyk(70.1%, 63.7%, 0%, 20%)
CIE-LABlab(38.28, 37.82, -68.80)
CIE-LCHlch(38.28, 78.51, 298.80°)
OKLaboklab(48.32% 0.0072 -0.1987)
OKLCHoklch(48.32% 0.199 272.1)
XYZxyz(15.2687, 10.2478, 58.2884)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4ACC #CCBF3D
analogous
#3D92CC #3D4ACC #773DCC
triadic
#3D4ACC #CC3D4A #4ACC3D
tetradic
#3D4ACC #CC3D92 #CCBF3D #3DCC77
square
#3D4ACC #CC3D92 #CCBF3D #3DCC77
split-complementary
#3D4ACC #CC773D #92CC3D
monochromatic
#1E2571 #2A35A1 #3D4ACC #6D77D9 #9EA4E5

Accessibility & contrast

On white

6.89
#3D4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3D4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4ACC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4ACC#FFFFFF#000000##FFFFFF
##3D4ACC1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4acc;
/* rgb */ color: rgb(61, 74, 204);
/* oklch */ color: oklch(48.3% 0.199 272.1);
Tailwind
colors: {
  custom: {
    50: '#857cdd',
    500: '#3d4acc',
    950: '#000000',
  },
}
SCSS
$custom: #3d4acc;
$custom-light: #857cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4acc",
  "rgb": {
    "r": 61,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 234.545,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48316,
    "c": 0.19883,
    "h": 272.1
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#3D4ACC
secondary
#D2CC93
accent
#D346E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3D4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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