#3D45B2#3D45B2

#3D45B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.171 H 274.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3D45B2
RGBrgb(61, 69, 178)
HSLhsl(236, 49%, 47%)
HSVhsv(236, 66%, 70%)
CMYKcmyk(65.7%, 61.2%, 0%, 30.2%)
CIE-LABlab(34.93, 31.92, -59.05)
CIE-LCHlch(34.93, 67.13, 298.39°)
OKLaboklab(45.18% 0.0123 -0.1701)
OKLCHoklch(45.18% 0.171 274.1)
XYZxyz(12.0858, 8.4616, 43.1072)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45B2 #B2AA3D
analogous
#3D80B2 #3D45B2 #6F3DB2
triadic
#3D45B2 #B23D45 #45B23D
tetradic
#3D45B2 #B23D80 #B2AA3D #3DB26F
square
#3D45B2 #B23D80 #B2AA3D #3DB26F
split-complementary
#3D45B2 #B26F3D #80B23D
monochromatic
#1E2257 #2D3384 #3D45B2 #636AC9 #9095D9

Accessibility & contrast

On white

7.80
#3D45B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3D45B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45B2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45B2#FFFFFF#000000##FFFFFF
##3D45B21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d45b2;
/* rgb */ color: rgb(61, 69, 178);
/* oklch */ color: oklch(45.2% 0.171 274.1);
Tailwind
colors: {
  custom: {
    50: '#8078ca',
    500: '#3d45b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d45b2;
$custom-light: #8078ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45b2",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 235.897,
    "s": 48.954,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4518,
    "c": 0.17058,
    "h": 274.1
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#3D45B2
secondary
#C4C087
accent
#CF4FD9
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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