#3A74CF#3A74CF

#3A74CF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.153 H 259.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3A74CF
RGBrgb(58, 116, 207)
HSLhsl(217, 61%, 52%)
HSVhsv(217, 72%, 81%)
CMYKcmyk(72%, 44%, 0%, 18.8%)
CIE-LABlab(49.37, 11.87, -52.59)
CIE-LCHlch(49.37, 53.91, 282.72°)
OKLaboklab(56.71% -0.0288 -0.1505)
OKLCHoklch(56.71% 0.153 259.2)
XYZxyz(19.2487, 17.8932, 61.4587)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74CF #CF953A
analogous
#3ABFCF #3A74CF #4B3ACF
triadic
#3A74CF #CF3A74 #74CF3A
tetradic
#3A74CF #CF3ABF #CF953A #3ACF4B
square
#3A74CF #CF3ABF #CF953A #3ACF4B
split-complementary
#3A74CF #CF4B3A #BFCF3A
monochromatic
#1C3E73 #2858A4 #3A74CF #6B97DB #9CB9E7

Accessibility & contrast

On white

4.59
#3A74CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3A74CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74CF#FFFFFF#000000##FFFFFF
##3A74CF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477DD2
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a74cf;
/* rgb */ color: rgb(58, 116, 207);
/* oklch */ color: oklch(56.7% 0.153 259.2);
Tailwind
colors: {
  custom: {
    50: '#829bde',
    500: '#3a74cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a74cf;
$custom-light: #829bde;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74cf",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 216.644,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.15324,
    "h": 259.2
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#3A74CF
secondary
#D3BA92
accent
#A644E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A74CF

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

Preview Lab → · Contrast checker → · Palette generator →

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