#3D74C5#3D74C5

#3D74C5 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.2% C 0.139 H 258.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3D74C5
RGBrgb(61, 116, 197)
HSLhsl(216, 54%, 51%)
HSVhsv(216, 69%, 77%)
CMYKcmyk(69%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.90, 8.69, -47.61)
CIE-LCHlch(48.90, 48.40, 280.34°)
OKLaboklab(56.19% -0.0286 -0.1358)
OKLCHoklch(56.19% 0.139 258.1)
XYZxyz(18.2443, 17.5122, 55.2312)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D74C5 #C58E3D
analogous
#3DB8C5 #3D74C5 #4A3DC5
triadic
#3D74C5 #C53D74 #74C53D
tetradic
#3D74C5 #C53DB8 #C58E3D #3DC54A
square
#3D74C5 #C53DB8 #C58E3D #3DC54A
split-complementary
#3D74C5 #C54A3D #B8C53D
monochromatic
#1F3D68 #2D5898 #3D74C5 #6C96D3 #9BB8E1

Accessibility & contrast

On white

4.66
#3D74C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#3D74C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D74C5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D74C5#FFFFFF#000000##FFFFFF
##3D74C51.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d74c5;
/* rgb */ color: rgb(61, 116, 197);
/* oklch */ color: oklch(56.2% 0.139 258.1);
Tailwind
colors: {
  custom: {
    50: '#829bd7',
    500: '#3d74c5',
    950: '#000000',
  },
}
SCSS
$custom: #3d74c5;
$custom-light: #829bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d74c5",
  "rgb": {
    "r": 61,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 215.735,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.13881,
    "h": 258.1
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#3D74C5
secondary
#CDB591
accent
#A24ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3D74C5

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

Preview Lab → · Contrast checker → · Palette generator →

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