#3D4EA8#3D4EA8

#3D4EA8 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.145 H 271.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3D4EA8
RGBrgb(61, 78, 168)
HSLhsl(230, 47%, 45%)
HSVhsv(230, 64%, 66%)
CMYKcmyk(63.7%, 53.6%, 0%, 34.1%)
CIE-LABlab(36.49, 22.56, -50.56)
CIE-LCHlch(36.49, 55.37, 294.05°)
OKLaboklab(46.11% 0.0038 -0.1451)
OKLCHoklch(46.11% 0.145 271.5)
XYZxyz(11.7144, 9.2670, 38.2096)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4EA8 #A8973D
analogous
#3D84A8 #3D4EA8 #613DA8
triadic
#3D4EA8 #A83D4E #4EA83D
tetradic
#3D4EA8 #A83D84 #A8973D #3DA861
square
#3D4EA8 #A83D84 #A8973D #3DA861
split-complementary
#3D4EA8 #A8613D #84A83D
monochromatic
#1C244E #2D397B #3D4EA8 #5E6EC4 #8B96D5

Accessibility & contrast

On white

7.36
#3D4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3D4EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4EA8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4EA8#FFFFFF#000000##FFFFFF
##3D4EA81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145BAB
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d4ea8;
/* rgb */ color: rgb(61, 78, 168);
/* oklch */ color: oklch(46.1% 0.145 271.5);
Tailwind
colors: {
  custom: {
    50: '#7e7fc2',
    500: '#3d4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3d4ea8;
$custom-light: #7e7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4ea8",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 230.467,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.14513,
    "h": 271.5
  },
  "luminance": 0.09268
}

Semantic roles & 50–950 ramp

primary
#3D4EA8
secondary
#BFB681
accent
#C151D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3D4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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