#3D45D5#3D45D5

#3D45D5 is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.3% C 0.216 H 272.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3D45D5
RGBrgb(61, 69, 213)
HSLhsl(237, 64%, 54%)
HSVhsv(237, 71%, 84%)
CMYKcmyk(71.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(37.93, 43.94, -74.57)
CIE-LCHlch(37.93, 86.56, 300.51°)
OKLaboklab(48.3% 0.0097 -0.2156)
OKLCHoklch(48.3% 0.216 272.6)
XYZxyz(16.0588, 10.0508, 64.0316)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45D5 #D5CD3D
analogous
#3D91D5 #3D45D5 #813DD5
triadic
#3D45D5 #D53D45 #45D53D
tetradic
#3D45D5 #D53D91 #D5CD3D #3DD581
square
#3D45D5 #D53D91 #D5CD3D #3DD581
split-complementary
#3D45D5 #D5813D #91D53D
monochromatic
#1B207D #262DAF #3D45D5 #6F75E0 #A2A5EB

Accessibility & contrast

On white

6.98
#3D45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3D45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D45D5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45D5#FFFFFF#000000##FFFFFF
##3D45D51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D9
Deuteranopia (green-blind)
#0052D2
Tritanopia (blue-blind)
#006C87
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3d45d5;
/* rgb */ color: rgb(61, 69, 213);
/* oklch */ color: oklch(48.3% 0.216 272.6);
Tailwind
colors: {
  custom: {
    50: '#8879e3',
    500: '#3d45d5',
    950: '#000000',
  },
}
SCSS
$custom: #3d45d5;
$custom-light: #8879e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45d5",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 236.842,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48303,
    "c": 0.21584,
    "h": 272.6
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#3D45D5
secondary
#D7D496
accent
#DF40E7
background
#F9F7FE
surface
#F1EDFC
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3D45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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