#3D4DBA#3D4DBA

#3D4DBA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.3% C 0.171 H 271.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3D4DBA
RGBrgb(61, 77, 186)
HSLhsl(232, 51%, 48%)
HSVhsv(232, 67%, 73%)
CMYKcmyk(67.2%, 58.6%, 0%, 27.1%)
CIE-LABlab(37.56, 29.61, -59.48)
CIE-LCHlch(37.56, 66.45, 296.47°)
OKLaboklab(47.33% 0.0054 -0.1713)
OKLCHoklch(47.33% 0.171 271.8)
XYZxyz(13.4383, 9.8438, 47.6367)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4DBA #BAAA3D
analogous
#3D8BBA #3D4DBA #6B3DBA
triadic
#3D4DBA #BA3D4D #4DBA3D
tetradic
#3D4DBA #BA3D8B #BAAA3D #3DBA6B
square
#3D4DBA #BA3D8B #BAAA3D #3DBA6B
split-complementary
#3D4DBA #BA6B3D #8BBA3D
monochromatic
#1F275E #2E3A8C #3D4DBA #6774CD #959EDC

Accessibility & contrast

On white

7.07
#3D4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3D4DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4DBA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4DBA#FFFFFF#000000##FFFFFF
##3D4DBA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3d4dba;
/* rgb */ color: rgb(61, 77, 186);
/* oklch */ color: oklch(47.3% 0.171 271.8);
Tailwind
colors: {
  custom: {
    50: '#817ed0',
    500: '#3d4dba',
    950: '#000000',
  },
}
SCSS
$custom: #3d4dba;
$custom-light: #817ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4dba",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 232.32,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47329,
    "c": 0.17142,
    "h": 271.8
  },
  "luminance": 0.09845
}

Semantic roles & 50–950 ramp

primary
#3D4DBA
secondary
#C8C08B
accent
#C84EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3D4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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