#3D45B6#3D45B6

#3D45B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.176 H 273.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3D45B6
RGBrgb(61, 69, 182)
HSLhsl(236, 50%, 48%)
HSVhsv(236, 66%, 71%)
CMYKcmyk(66.5%, 62.1%, 0%, 28.6%)
CIE-LABlab(35.25, 33.31, -60.89)
CIE-LCHlch(35.25, 69.41, 298.68°)
OKLaboklab(45.52% 0.0121 -0.1755)
OKLCHoklch(45.52% 0.176 273.9)
XYZxyz(12.4933, 8.6246, 45.2532)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45B6 #B6AE3D
analogous
#3D81B6 #3D45B6 #713DB6
triadic
#3D45B6 #B63D45 #45B63D
tetradic
#3D45B6 #B63D81 #B6AE3D #3DB671
square
#3D45B6 #B63D81 #B6AE3D #3DB671
split-complementary
#3D45B6 #B6713D #81B63D
monochromatic
#1E225A #2E3488 #3D45B6 #656CCB #9397DB

Accessibility & contrast

On white

7.71
#3D45B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3D45B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45B6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45B6#FFFFFF#000000##FFFFFF
##3D45B61.007.712.737.71
#FFFFFF7.711.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d45b6;
/* rgb */ color: rgb(61, 69, 182);
/* oklch */ color: oklch(45.5% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#8178cd',
    500: '#3d45b6',
    950: '#000000',
  },
}
SCSS
$custom: #3d45b6;
$custom-light: #8178cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45b6",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 236.033,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.17595,
    "h": 273.9
  },
  "luminance": 0.08626
}

Semantic roles & 50–950 ramp

primary
#3D45B6
secondary
#C6C289
accent
#D04ED9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3D45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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