#3D46C8#3D46C8

#3D46C8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.198 H 273.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#3D46C8
RGBrgb(61, 70, 200)
HSLhsl(236, 56%, 51%)
HSVhsv(236, 70%, 78%)
CMYKcmyk(69.5%, 65%, 0%, 21.6%)
CIE-LABlab(37.01, 38.91, -68.57)
CIE-LCHlch(37.01, 78.84, 299.58°)
OKLaboklab(47.28% 0.0103 -0.198)
OKLCHoklch(47.28% 0.198 273)
XYZxyz(14.5365, 9.5412, 55.7079)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D46C8 #C8BF3D
analogous
#3D8BC8 #3D46C8 #793DC8
triadic
#3D46C8 #C83D46 #46C83D
tetradic
#3D46C8 #C83D8B #C8BF3D #3DC879
square
#3D46C8 #C83D8B #C8BF3D #3DC879
split-complementary
#3D46C8 #C8793D #8BC83D
monochromatic
#1F246C #2C339C #3D46C8 #6D73D6 #9CA1E3

Accessibility & contrast

On white

7.22
#3D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3D46C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D46C8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D46C8#FFFFFF#000000##FFFFFF
##3D46C81.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d46c8;
/* rgb */ color: rgb(61, 70, 200);
/* oklch */ color: oklch(47.3% 0.198 273.0);
Tailwind
colors: {
  custom: {
    50: '#857ada',
    500: '#3d46c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d46c8;
$custom-light: #857ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3d46c8",
  "rgb": {
    "r": 61,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 236.115,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47276,
    "c": 0.19832,
    "h": 273
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#3D46C8
secondary
#CFCB92
accent
#D549DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3D46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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