#3A74B2#3A74B2

#3A74B2 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.9% C 0.115 H 252.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3A74B2
RGBrgb(58, 116, 178)
HSLhsl(211, 51%, 46%)
HSVhsv(211, 67%, 70%)
CMYKcmyk(67.4%, 34.8%, 0%, 30.2%)
CIE-LABlab(47.76, 1.40, -38.47)
CIE-LCHlch(47.76, 38.49, 272.09°)
OKLaboklab(54.93% -0.0355 -0.1091)
OKLCHoklch(54.93% 0.115 252)
XYZxyz(16.0232, 16.6030, 44.4711)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74B2 #B2783A
analogous
#3AB0B2 #3A74B2 #3C3AB2
triadic
#3A74B2 #B23A74 #74B23A
tetradic
#3A74B2 #B23AB0 #B2783A #3AB23C
square
#3A74B2 #B23AB0 #B2783A #3AB23C
split-complementary
#3A74B2 #B23C3A #B0B23A
monochromatic
#1C3856 #2B5684 #3A74B2 #5F93CB #8DB2DA

Accessibility & contrast

On white

4.86
#3A74B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3A74B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74B2#FFFFFF#000000##FFFFFF
##3A74B21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#486CB1
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a74b2;
/* rgb */ color: rgb(58, 116, 178);
/* oklch */ color: oklch(54.9% 0.115 252.0);
Tailwind
colors: {
  custom: {
    50: '#7d9bc9',
    500: '#3a74b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a74b2;
$custom-light: #7d9bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74b2",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 178
  },
  "hsl": {
    "h": 211,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.11472,
    "h": 252
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#3A74B2
secondary
#C4A583
accent
#964DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A74B2

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

Preview Lab → · Contrast checker → · Palette generator →

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