#3B74C5#3B74C5

#3B74C5 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.1% C 0.140 H 257.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3B74C5
RGBrgb(59, 116, 197)
HSLhsl(215, 54%, 50%)
HSVhsv(215, 70%, 77%)
CMYKcmyk(70.1%, 41.1%, 0%, 22.7%)
CIE-LABlab(48.82, 8.38, -47.74)
CIE-LCHlch(48.82, 48.47, 279.96°)
OKLaboklab(56.11% -0.0301 -0.1362)
OKLCHoklch(56.11% 0.14 257.5)
XYZxyz(18.1234, 17.4499, 55.2255)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B74C5 #C58C3B
analogous
#3BB9C5 #3B74C5 #473BC5
triadic
#3B74C5 #C53B74 #74C53B
tetradic
#3B74C5 #C53BB9 #C58C3B #3BC547
square
#3B74C5 #C53BB9 #C58C3B #3BC547
split-complementary
#3B74C5 #C5473B #B9C53B
monochromatic
#1F3C67 #2C5896 #3B74C5 #6A95D3 #99B7E1

Accessibility & contrast

On white

4.68
#3B74C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3B74C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B74C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B74C5#FFFFFF#000000##FFFFFF
##3B74C51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.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: #3b74c5;
/* rgb */ color: rgb(59, 116, 197);
/* oklch */ color: oklch(56.1% 0.140 257.5);
Tailwind
colors: {
  custom: {
    50: '#819bd7',
    500: '#3b74c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b74c5;
$custom-light: #819bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b74c5",
  "rgb": {
    "r": 59,
    "g": 116,
    "b": 197
  },
  "hsl": {
    "h": 215.217,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5611,
    "c": 0.13953,
    "h": 257.5
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#3B74C5
secondary
#CDB38F
accent
#A14ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3B74C5

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

Preview Lab → · Contrast checker → · Palette generator →

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