#3D45C5#3D45C5

#3D45C5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.196 H 273.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3D45C5
RGBrgb(61, 69, 197)
HSLhsl(236, 54%, 51%)
HSVhsv(236, 69%, 77%)
CMYKcmyk(69%, 65%, 0%, 22.7%)
CIE-LABlab(36.51, 38.50, -67.63)
CIE-LCHlch(36.51, 77.82, 299.65°)
OKLaboklab(46.84% 0.0112 -0.1953)
OKLCHoklch(46.84% 0.196 273.3)
XYZxyz(14.1273, 9.2782, 53.8589)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45C5 #C5BD3D
analogous
#3D89C5 #3D45C5 #793DC5
triadic
#3D45C5 #C53D45 #45C53D
tetradic
#3D45C5 #C53D89 #C5BD3D #3DC579
square
#3D45C5 #C53D89 #C5BD3D #3DC579
split-complementary
#3D45C5 #C5793D #89C53D
monochromatic
#1F2468 #2D3498 #3D45C5 #6C72D3 #9B9FE1

Accessibility & contrast

On white

7.35
#3D45C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3D45C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45C5
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45C5#FFFFFF#000000##FFFFFF
##3D45C51.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d45c5;
/* rgb */ color: rgb(61, 69, 197);
/* oklch */ color: oklch(46.8% 0.196 273.3);
Tailwind
colors: {
  custom: {
    50: '#8479d8',
    500: '#3d45c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d45c5;
$custom-light: #8479d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45c5",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 236.471,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.19562,
    "h": 273.3
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#3D45C5
secondary
#CDCA91
accent
#D54ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3D45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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