#3D46B3#3D46B3

#3D46B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.171 H 273.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3D46B3
RGBrgb(61, 70, 179)
HSLhsl(235, 49%, 47%)
HSVhsv(235, 66%, 70%)
CMYKcmyk(65.9%, 60.9%, 0%, 29.8%)
CIE-LABlab(35.25, 31.63, -59.11)
CIE-LCHlch(35.25, 67.04, 298.15°)
OKLaboklab(45.45% 0.0114 -0.1703)
OKLCHoklch(45.45% 0.171 273.8)
XYZxyz(12.2486, 8.6260, 43.6586)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D46B3 #B3AA3D
analogous
#3D81B3 #3D46B3 #6F3DB3
triadic
#3D46B3 #B33D46 #46B33D
tetradic
#3D46B3 #B33D81 #B3AA3D #3DB36F
square
#3D46B3 #B33D81 #B3AA3D #3DB36F
split-complementary
#3D46B3 #B36F3D #81B33D
monochromatic
#1E2258 #2D3485 #3D46B3 #636BCA #9196D9

Accessibility & contrast

On white

7.71
#3D46B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3D46B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D46B3
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D46B3#FFFFFF#000000##FFFFFF
##3D46B31.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d46b3;
/* rgb */ color: rgb(61, 70, 179);
/* oklch */ color: oklch(45.4% 0.171 273.8);
Tailwind
colors: {
  custom: {
    50: '#8079cb',
    500: '#3d46b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d46b3;
$custom-light: #8079cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d46b3",
  "rgb": {
    "r": 61,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 235.424,
    "s": 49.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.17068,
    "h": 273.8
  },
  "luminance": 0.08627
}

Semantic roles & 50–950 ramp

primary
#3D46B3
secondary
#C5C087
accent
#CE4FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D46B3

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

Preview Lab → · Contrast checker → · Palette generator →

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