#3D45AC#3D45AC

#3D45AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.162 H 274.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3D45AC
RGBrgb(61, 69, 172)
HSLhsl(236, 48%, 46%)
HSVhsv(236, 65%, 67%)
CMYKcmyk(64.5%, 59.9%, 0%, 32.5%)
CIE-LABlab(34.45, 29.82, -56.26)
CIE-LCHlch(34.45, 63.68, 297.93°)
OKLaboklab(44.68% 0.0124 -0.1619)
OKLCHoklch(44.68% 0.162 274.4)
XYZxyz(11.4965, 8.2259, 40.0036)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45AC #ACA43D
analogous
#3D7CAC #3D45AC #6D3DAC
triadic
#3D45AC #AC3D45 #45AC3D
tetradic
#3D45AC #AC3D7C #ACA43D #3DAC6D
square
#3D45AC #AC3D7C #ACA43D #3DAC6D
split-complementary
#3D45AC #AC6D3D #7CAC3D
monochromatic
#1D2152 #2D337F #3D45AC #6067C7 #8D92D7

Accessibility & contrast

On white

7.94
#3D45AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3D45AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45AC
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45AC#FFFFFF#000000##FFFFFF
##3D45AC1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d45ac;
/* rgb */ color: rgb(61, 69, 172);
/* oklch */ color: oklch(44.7% 0.162 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f78c6',
    500: '#3d45ac',
    950: '#000000',
  },
}
SCSS
$custom: #3d45ac;
$custom-light: #7f78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45ac",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 235.676,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.16241,
    "h": 274.4
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#3D45AC
secondary
#C1BD84
accent
#CE51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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