#3D45C2#3D45C2

#3D45C2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.6% C 0.192 H 273.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#3D45C2
RGBrgb(61, 69, 194)
HSLhsl(236, 52%, 50%)
HSVhsv(236, 69%, 76%)
CMYKcmyk(68.6%, 64.4%, 0%, 23.9%)
CIE-LABlab(36.26, 37.47, -66.30)
CIE-LCHlch(36.26, 76.15, 299.47°)
OKLaboklab(46.57% 0.0114 -0.1914)
OKLCHoklch(46.57% 0.192 273.4)
XYZxyz(13.7869, 9.1421, 52.0665)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45C2 #C2BA3D
analogous
#3D87C2 #3D45C2 #783DC2
triadic
#3D45C2 #C23D45 #45C23D
tetradic
#3D45C2 #C23D87 #C2BA3D #3DC278
square
#3D45C2 #C23D87 #C2BA3D #3DC278
split-complementary
#3D45C2 #C2783D #87C23D
monochromatic
#202465 #2E3493 #3D45C2 #6C72D1 #9A9EDF

Accessibility & contrast

On white

7.42
#3D45C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3D45C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45C2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45C2#FFFFFF#000000##FFFFFF
##3D45C21.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#00657D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d45c2;
/* rgb */ color: rgb(61, 69, 194);
/* oklch */ color: oklch(46.6% 0.192 273.4);
Tailwind
colors: {
  custom: {
    50: '#8379d5',
    500: '#3d45c2',
    950: '#000000',
  },
}
SCSS
$custom: #3d45c2;
$custom-light: #8379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45c2",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 236.391,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.4657,
    "c": 0.19174,
    "h": 273.4
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#3D45C2
secondary
#CBC890
accent
#D34CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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