#3D74D5#3D74D5

#3D74D5 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.160 H 260.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3D74D5
RGBrgb(61, 116, 213)
HSLhsl(218, 64%, 54%)
HSVhsv(218, 71%, 84%)
CMYKcmyk(71.4%, 45.5%, 0%, 16.5%)
CIE-LABlab(49.84, 14.47, -55.23)
CIE-LCHlch(49.84, 57.10, 284.68°)
OKLaboklab(57.22% -0.0256 -0.1582)
OKLCHoklch(57.22% 0.16 260.8)
XYZxyz(20.1758, 18.2848, 65.4039)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D74D5 #D59E3D
analogous
#3DC0D5 #3D74D5 #523DD5
triadic
#3D74D5 #D53D74 #74D53D
tetradic
#3D74D5 #D53DC0 #D59E3D #3DD552
square
#3D74D5 #D53DC0 #D59E3D #3DD552
split-complementary
#3D74D5 #D5523D #C0D53D
monochromatic
#1B3E7D #2657AF #3D74D5 #6F98E0 #A2BCEB

Accessibility & contrast

On white

4.51
#3D74D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3D74D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D74D5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D74D5#FFFFFF#000000##000000
##3D74D51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED9
Deuteranopia (green-blind)
#2270D3
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3d74d5;
/* rgb */ color: rgb(61, 116, 213);
/* oklch */ color: oklch(57.2% 0.160 260.8);
Tailwind
colors: {
  custom: {
    50: '#859be2',
    500: '#3d74d5',
    950: '#000000',
  },
}
SCSS
$custom: #3d74d5;
$custom-light: #859be2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d74d5",
  "rgb": {
    "r": 61,
    "g": 116,
    "b": 213
  },
  "hsl": {
    "h": 218.289,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.1603,
    "h": 260.8
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#3D74D5
secondary
#D7C096
accent
#AB40E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3D74D5

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

Preview Lab → · Contrast checker → · Palette generator →

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