#3D45C7#3D45C7

#3D45C7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.198 H 273.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#3D45C7
RGBrgb(61, 69, 199)
HSLhsl(237, 55%, 51%)
HSVhsv(237, 69%, 78%)
CMYKcmyk(69.3%, 65.3%, 0%, 22%)
CIE-LABlab(36.69, 39.19, -68.51)
CIE-LCHlch(36.69, 78.93, 299.77°)
OKLaboklab(47.02% 0.011 -0.1979)
OKLCHoklch(47.02% 0.198 273.2)
XYZxyz(14.3579, 9.3705, 55.0738)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45C7 #C7BF3D
analogous
#3D8AC7 #3D45C7 #7A3DC7
triadic
#3D45C7 #C73D45 #45C73D
tetradic
#3D45C7 #C73D8A #C7BF3D #3DC77A
square
#3D45C7 #C73D8A #C7BF3D #3DC77A
split-complementary
#3D45C7 #C77A3D #8AC73D
monochromatic
#1F236B #2D339A #3D45C7 #6C73D5 #9CA0E2

Accessibility & contrast

On white

7.31
#3D45C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3D45C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45C7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45C7#FFFFFF#000000##FFFFFF
##3D45C71.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0050C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d45c7;
/* rgb */ color: rgb(61, 69, 199);
/* oklch */ color: oklch(47.0% 0.198 273.2);
Tailwind
colors: {
  custom: {
    50: '#8579d9',
    500: '#3d45c7',
    950: '#000000',
  },
}
SCSS
$custom: #3d45c7;
$custom-light: #8579d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45c7",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 236.522,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.19819,
    "h": 273.2
  },
  "luminance": 0.09372
}

Semantic roles & 50–950 ramp

primary
#3D45C7
secondary
#CECB91
accent
#D649DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3D45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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