#3D45C1#3D45C1

#3D45C1 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.5% C 0.190 H 273.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3D45C1
RGBrgb(61, 69, 193)
HSLhsl(236, 52%, 50%)
HSVhsv(236, 68%, 76%)
CMYKcmyk(68.4%, 64.2%, 0%, 24.3%)
CIE-LABlab(36.17, 37.12, -65.85)
CIE-LCHlch(36.17, 75.60, 299.41°)
OKLaboklab(46.48% 0.0115 -0.1901)
OKLCHoklch(46.48% 0.19 273.5)
XYZxyz(13.6750, 9.0973, 51.4770)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45C1 #C1B93D
analogous
#3D87C1 #3D45C1 #773DC1
triadic
#3D45C1 #C13D45 #45C13D
tetradic
#3D45C1 #C13D87 #C1B93D #3DC177
square
#3D45C1 #C13D87 #C1B93D #3DC177
split-complementary
#3D45C1 #C1773D #87C13D
monochromatic
#202464 #2E3492 #3D45C1 #6B71D0 #999EDF

Accessibility & contrast

On white

7.45
#3D45C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3D45C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45C1
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45C1#FFFFFF#000000##FFFFFF
##3D45C11.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d45c1;
/* rgb */ color: rgb(61, 69, 193);
/* oklch */ color: oklch(46.5% 0.190 273.5);
Tailwind
colors: {
  custom: {
    50: '#8379d5',
    500: '#3d45c1',
    950: '#000000',
  },
}
SCSS
$custom: #3d45c1;
$custom-light: #8379d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45c1",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 236.364,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.19045,
    "h": 273.5
  },
  "luminance": 0.09099
}

Semantic roles & 50–950 ramp

primary
#3D45C1
secondary
#CBC78F
accent
#D34CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3D45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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