#3D4EAB#3D4EAB

#3D4EAB is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.149 H 271.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3D4EAB
RGBrgb(61, 78, 171)
HSLhsl(231, 47%, 45%)
HSVhsv(231, 64%, 67%)
CMYKcmyk(64.3%, 54.4%, 0%, 32.9%)
CIE-LABlab(36.71, 23.63, -52.01)
CIE-LCHlch(36.71, 57.12, 294.44°)
OKLaboklab(46.34% 0.004 -0.1493)
OKLCHoklch(46.34% 0.149 271.5)
XYZxyz(11.9971, 9.3801, 39.6985)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EAB #AB9A3D
analogous
#3D85AB #3D4EAB #633DAB
triadic
#3D4EAB #AB3D4E #4EAB3D
tetradic
#3D4EAB #AB3D85 #AB9A3D #3DAB63
square
#3D4EAB #AB3D85 #AB9A3D #3DAB63
split-complementary
#3D4EAB #AB633D #85AB3D
monochromatic
#1D2551 #2D397E #3D4EAB #5F6FC6 #8C98D6

Accessibility & contrast

On white

7.30
#3D4EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3D4EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EAB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EAB#FFFFFF#000000##FFFFFF
##3D4EAB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5BAE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d4eab;
/* rgb */ color: rgb(61, 78, 171);
/* oklch */ color: oklch(46.3% 0.149 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e7fc5',
    500: '#3d4eab',
    950: '#000000',
  },
}
SCSS
$custom: #3d4eab;
$custom-light: #7e7fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4eab",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 230.727,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.14937,
    "h": 271.5
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

primary
#3D4EAB
secondary
#C1B783
accent
#C251D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3D4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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