#3D46B2#3D46B2

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

Color values

HEX#3D46B2
RGBrgb(61, 70, 178)
HSLhsl(235, 49%, 47%)
HSVhsv(235, 66%, 70%)
CMYKcmyk(65.7%, 60.7%, 0%, 30.2%)
CIE-LABlab(35.17, 31.28, -58.65)
CIE-LCHlch(35.17, 66.47, 298.07°)
OKLaboklab(45.36% 0.0114 -0.1689)
OKLCHoklch(45.36% 0.169 273.9)
XYZxyz(12.1478, 8.5857, 43.1279)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D46B2 #B2A93D
analogous
#3D80B2 #3D46B2 #6F3DB2
triadic
#3D46B2 #B23D46 #46B23D
tetradic
#3D46B2 #B23D80 #B2A93D #3DB26F
square
#3D46B2 #B23D80 #B2A93D #3DB26F
split-complementary
#3D46B2 #B26F3D #80B23D
monochromatic
#1E2257 #2D3484 #3D46B2 #636BC9 #9096D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D46B2#FFFFFF#000000##FFFFFF
##3D46B21.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)
#0058B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d46b2;
/* rgb */ color: rgb(61, 70, 178);
/* oklch */ color: oklch(45.4% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#8079ca',
    500: '#3d46b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d46b2;
$custom-light: #8079ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d46b2",
  "rgb": {
    "r": 61,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 235.385,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.16932,
    "h": 273.9
  },
  "luminance": 0.08587
}

Semantic roles & 50–950 ramp

primary
#3D46B2
secondary
#C4BF87
accent
#CE4FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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