#3A74C7#3A74C7

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

Color values

HEX#3A74C7
RGBrgb(58, 116, 199)
HSLhsl(215, 56%, 50%)
HSVhsv(215, 71%, 78%)
CMYKcmyk(70.9%, 41.7%, 0%, 22%)
CIE-LABlab(48.90, 8.96, -48.76)
CIE-LCHlch(48.90, 49.58, 280.41°)
OKLaboklab(56.2% -0.0304 -0.1393)
OKLCHoklch(56.2% 0.143 257.7)
XYZxyz(18.2954, 17.5119, 56.4377)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74C7 #C78D3A
analogous
#3ABAC7 #3A74C7 #463AC7
triadic
#3A74C7 #C73A74 #74C73A
tetradic
#3A74C7 #C73ABA #C78D3A #3AC746
square
#3A74C7 #C73ABA #C78D3A #3AC746
split-complementary
#3A74C7 #C7463A #BAC73A
monochromatic
#1E3D69 #2B5898 #3A74C7 #6A96D5 #99B7E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A74C7#FFFFFF#000000##FFFFFF
##3A74C71.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)
#4D7BCA
Deuteranopia (green-blind)
#356EC5
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a74c7;
/* rgb */ color: rgb(58, 116, 199);
/* oklch */ color: oklch(56.2% 0.143 257.7);
Tailwind
colors: {
  custom: {
    50: '#819bd8',
    500: '#3a74c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a74c7;
$custom-light: #819bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74c7",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 199
  },
  "hsl": {
    "h": 215.319,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.14254,
    "h": 257.7
  },
  "luminance": 0.17514
}

Semantic roles & 50–950 ramp

primary
#3A74C7
secondary
#CEB48F
accent
#A149DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A74C7

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

Preview Lab → · Contrast checker → · Palette generator →

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