#3D74C1#3D74C1

#3D74C1 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 55.9% C 0.133 H 257.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3D74C1
RGBrgb(61, 116, 193)
HSLhsl(215, 52%, 50%)
HSVhsv(215, 68%, 76%)
CMYKcmyk(68.4%, 39.9%, 0%, 24.3%)
CIE-LABlab(48.67, 7.25, -45.67)
CIE-LCHlch(48.67, 46.24, 279.02°)
OKLaboklab(55.95% -0.0295 -0.1301)
OKLCHoklch(55.95% 0.133 257.2)
XYZxyz(17.7920, 17.3313, 52.8494)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D74C1 #C18A3D
analogous
#3DB6C1 #3D74C1 #483DC1
triadic
#3D74C1 #C13D74 #74C13D
tetradic
#3D74C1 #C13DB6 #C18A3D #3DC148
square
#3D74C1 #C13DB6 #C18A3D #3DC148
split-complementary
#3D74C1 #C1483D #B6C13D
monochromatic
#203C64 #2E5892 #3D74C1 #6B95D0 #99B6DF

Accessibility & contrast

On white

4.70
#3D74C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#3D74C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D74C1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D74C1#FFFFFF#000000##FFFFFF
##3D74C11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517AC4
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d74c1;
/* rgb */ color: rgb(61, 116, 193);
/* oklch */ color: oklch(55.9% 0.133 257.2);
Tailwind
colors: {
  custom: {
    50: '#819bd4',
    500: '#3d74c1',
    950: '#000000',
  },
}
SCSS
$custom: #3d74c1;
$custom-light: #819bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d74c1",
  "rgb": {
    "r": 61,
    "g": 116,
    "b": 193
  },
  "hsl": {
    "h": 215,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.13344,
    "h": 257.2
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#3D74C1
secondary
#CBB28F
accent
#A04CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3D74C1

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

Preview Lab → · Contrast checker → · Palette generator →

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