#3D45AF#3D45AF

#3D45AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.9% C 0.167 H 274.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3D45AF
RGBrgb(61, 69, 175)
HSLhsl(236, 48%, 46%)
HSVhsv(236, 65%, 69%)
CMYKcmyk(65.1%, 60.6%, 0%, 31.4%)
CIE-LABlab(34.69, 30.87, -57.66)
CIE-LCHlch(34.69, 65.41, 298.16°)
OKLaboklab(44.93% 0.0123 -0.1661)
OKLCHoklch(44.93% 0.167 274.2)
XYZxyz(11.7879, 8.3425, 41.5382)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45AF #AFA73D
analogous
#3D7EAF #3D45AF #6E3DAF
triadic
#3D45AF #AF3D45 #45AF3D
tetradic
#3D45AF #AF3D7E #AFA73D #3DAF6E
square
#3D45AF #AF3D7E #AFA73D #3DAF6E
split-complementary
#3D45AF #AF6E3D #7EAF3D
monochromatic
#1D2154 #2D3382 #3D45AF #6168C8 #8F94D8

Accessibility & contrast

On white

7.87
#3D45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45AF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45AF#FFFFFF#000000##FFFFFF
##3D45AF1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d45af;
/* rgb */ color: rgb(61, 69, 175);
/* oklch */ color: oklch(44.9% 0.167 274.2);
Tailwind
colors: {
  custom: {
    50: '#8078c8',
    500: '#3d45af',
    950: '#000000',
  },
}
SCSS
$custom: #3d45af;
$custom-light: #8078c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45af",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 235.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.16652,
    "h": 274.2
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#3D45AF
secondary
#C3BE85
accent
#CE50D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3D45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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