#3A74D0#3A74D0

#3A74D0 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.8% C 0.155 H 259.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3A74D0
RGBrgb(58, 116, 208)
HSLhsl(217, 61%, 52%)
HSVhsv(217, 72%, 82%)
CMYKcmyk(72.1%, 44.2%, 0%, 18.4%)
CIE-LABlab(49.43, 12.24, -53.06)
CIE-LCHlch(49.43, 54.45, 282.99°)
OKLaboklab(56.78% -0.0286 -0.1519)
OKLCHoklch(56.78% 0.155 259.3)
XYZxyz(19.3714, 17.9423, 62.1046)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74D0 #D0963A
analogous
#3ABFD0 #3A74D0 #4B3AD0
triadic
#3A74D0 #D03A74 #74D03A
tetradic
#3A74D0 #D03ABF #D0963A #3AD04B
square
#3A74D0 #D03ABF #D0963A #3AD04B
split-complementary
#3A74D0 #D04B3A #BFD03A
monochromatic
#1C3E74 #2758A5 #3A74D0 #6B97DC #9DBAE8

Accessibility & contrast

On white

4.58
#3A74D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#3A74D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A74D0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74D0#FFFFFF#000000##000000
##3A74D01.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#467DD4
Deuteranopia (green-blind)
#296FCE
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a74d0;
/* rgb */ color: rgb(58, 116, 208);
/* oklch */ color: oklch(56.8% 0.155 259.3);
Tailwind
colors: {
  custom: {
    50: '#839bdf',
    500: '#3a74d0',
    950: '#000000',
  },
}
SCSS
$custom: #3a74d0;
$custom-light: #839bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74d0",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 208
  },
  "hsl": {
    "h": 216.8,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.15457,
    "h": 259.3
  },
  "luminance": 0.17944
}

Semantic roles & 50–950 ramp

primary
#3A74D0
secondary
#D4BA92
accent
#A643E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A74D0

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

Preview Lab → · Contrast checker → · Palette generator →

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