#3D45B9#3D45B9

#3D45B9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.180 H 273.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3D45B9
RGBrgb(61, 69, 185)
HSLhsl(236, 50%, 48%)
HSVhsv(236, 67%, 73%)
CMYKcmyk(67%, 62.7%, 0%, 27.5%)
CIE-LABlab(35.50, 34.36, -62.26)
CIE-LCHlch(35.50, 71.11, 298.89°)
OKLaboklab(45.78% 0.012 -0.1795)
OKLCHoklch(45.78% 0.18 273.8)
XYZxyz(12.8066, 8.7500, 46.9035)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D45B9 #B9B13D
analogous
#3D83B9 #3D45B9 #733DB9
triadic
#3D45B9 #B93D45 #45B93D
tetradic
#3D45B9 #B93D83 #B9B13D #3DB973
square
#3D45B9 #B93D83 #B9B13D #3DB973
split-complementary
#3D45B9 #B9733D #83B93D
monochromatic
#1F235D #2E348B #3D45B9 #666DCD #9599DC

Accessibility & contrast

On white

7.64
#3D45B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3D45B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D45B9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D45B9#FFFFFF#000000##FFFFFF
##3D45B91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d45b9;
/* rgb */ color: rgb(61, 69, 185);
/* oklch */ color: oklch(45.8% 0.180 273.8);
Tailwind
colors: {
  custom: {
    50: '#8279cf',
    500: '#3d45b9',
    950: '#000000',
  },
}
SCSS
$custom: #3d45b9;
$custom-light: #8279cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d45b9",
  "rgb": {
    "r": 61,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 236.129,
    "s": 50.407,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4578,
    "c": 0.17995,
    "h": 273.8
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#3D45B9
secondary
#C7C38B
accent
#D14EDA
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3D45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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