#3D4FBA#3D4FBA

#3D4FBA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.169 H 271.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3D4FBA
RGBrgb(61, 79, 186)
HSLhsl(231, 51%, 48%)
HSVhsv(231, 67%, 73%)
CMYKcmyk(67.2%, 57.5%, 0%, 27.1%)
CIE-LABlab(38.07, 28.33, -58.65)
CIE-LCHlch(38.07, 65.14, 295.78°)
OKLaboklab(47.71% 0.0038 -0.1689)
OKLCHoklch(47.71% 0.169 271.3)
XYZxyz(13.5804, 10.1280, 47.6841)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4FBA #BAA83D
analogous
#3D8DBA #3D4FBA #693DBA
triadic
#3D4FBA #BA3D4F #4FBA3D
tetradic
#3D4FBA #BA3D8D #BAA83D #3DBA69
square
#3D4FBA #BA3D8D #BAA83D #3DBA69
split-complementary
#3D4FBA #BA693D #8DBA3D
monochromatic
#1F285E #2E3B8C #3D4FBA #6776CD #959FDC

Accessibility & contrast

On white

6.94
#3D4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3D4FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D4FBA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4FBA#FFFFFF#000000##FFFFFF
##3D4FBA1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d4fba;
/* rgb */ color: rgb(61, 79, 186);
/* oklch */ color: oklch(47.7% 0.169 271.3);
Tailwind
colors: {
  custom: {
    50: '#8180d0',
    500: '#3d4fba',
    950: '#000000',
  },
}
SCSS
$custom: #3d4fba;
$custom-light: #8180d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4fba",
  "rgb": {
    "r": 61,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 231.36,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4771,
    "c": 0.16891,
    "h": 271.3
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#3D4FBA
secondary
#C8BF8B
accent
#C64EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3D4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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