#3A74D2#3A74D2

#3A74D2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.157 H 259.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A74D2
RGBrgb(58, 116, 210)
HSLhsl(217, 63%, 53%)
HSVhsv(217, 72%, 82%)
CMYKcmyk(72.4%, 44.8%, 0%, 17.6%)
CIE-LABlab(49.55, 12.97, -54.01)
CIE-LCHlch(49.55, 55.54, 283.50°)
OKLaboklab(56.91% -0.0283 -0.1547)
OKLCHoklch(56.91% 0.157 259.6)
XYZxyz(19.6190, 18.0413, 63.4086)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74D2 #D2983A
analogous
#3AC0D2 #3A74D2 #4C3AD2
triadic
#3A74D2 #D23A74 #74D23A
tetradic
#3A74D2 #D23AC0 #D2983A #3AD24C
square
#3A74D2 #D23AC0 #D2983A #3AD24C
split-complementary
#3A74D2 #D24C3A #C0D23A
monochromatic
#1B3E77 #2658A8 #3A74D2 #6C97DD #9EBAE9

Accessibility & contrast

On white

4.56
#3A74D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3A74D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A74D2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74D2#FFFFFF#000000##000000
##3A74D21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#256FD0
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a74d2;
/* rgb */ color: rgb(58, 116, 210);
/* oklch */ color: oklch(56.9% 0.157 259.6);
Tailwind
colors: {
  custom: {
    50: '#839be0',
    500: '#3a74d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a74d2;
$custom-light: #839be0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74d2",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 210
  },
  "hsl": {
    "h": 217.105,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.15724,
    "h": 259.6
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#3A74D2
secondary
#D5BC93
accent
#A742E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A74D2

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

Preview Lab → · Contrast checker → · Palette generator →

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