#3D4EB8#3D4EB8

#3D4EB8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.167 H 271.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3D4EB8
RGBrgb(61, 78, 184)
HSLhsl(232, 50%, 48%)
HSVhsv(232, 67%, 72%)
CMYKcmyk(66.8%, 57.6%, 0%, 27.8%)
CIE-LABlab(37.66, 28.26, -58.14)
CIE-LCHlch(37.66, 64.65, 295.92°)
OKLaboklab(47.36% 0.0046 -0.1674)
OKLCHoklch(47.36% 0.167 271.6)
XYZxyz(13.2977, 9.9003, 46.5483)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EB8 #B8A73D
analogous
#3D8BB8 #3D4EB8 #693DB8
triadic
#3D4EB8 #B83D4E #4EB83D
tetradic
#3D4EB8 #B83D8B #B8A73D #3DB869
square
#3D4EB8 #B83D8B #B8A73D #3DB869
split-complementary
#3D4EB8 #B8693D #8BB83D
monochromatic
#1F275C #2E3B8A #3D4EB8 #6674CC #949EDB

Accessibility & contrast

On white

7.05
#3D4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3D4EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EB8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EB8#FFFFFF#000000##FFFFFF
##3D4EB81.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3d4eb8;
/* rgb */ color: rgb(61, 78, 184);
/* oklch */ color: oklch(47.4% 0.167 271.6);
Tailwind
colors: {
  custom: {
    50: '#817fce',
    500: '#3d4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3d4eb8;
$custom-light: #817fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4eb8",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 231.707,
    "s": 50.204,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47357,
    "c": 0.16743,
    "h": 271.6
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#3D4EB8
secondary
#C7BE8A
accent
#C64EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3D4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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