#3A74C8#3A74C8

#3A74C8 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.3% C 0.144 H 257.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3A74C8
RGBrgb(58, 116, 200)
HSLhsl(215, 56%, 51%)
HSVhsv(215, 71%, 78%)
CMYKcmyk(71%, 42%, 0%, 21.6%)
CIE-LABlab(48.96, 9.32, -49.24)
CIE-LCHlch(48.96, 50.12, 280.72°)
OKLaboklab(56.26% -0.0302 -0.1407)
OKLCHoklch(56.26% 0.144 257.9)
XYZxyz(18.4119, 17.5585, 57.0512)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A74C8 #C88E3A
analogous
#3ABBC8 #3A74C8 #473AC8
triadic
#3A74C8 #C83A74 #74C83A
tetradic
#3A74C8 #C83ABB #C88E3A #3AC847
square
#3A74C8 #C83ABB #C88E3A #3AC847
split-complementary
#3A74C8 #C8473A #BBC83A
monochromatic
#1E3D6A #2B589A #3A74C8 #6A96D5 #9AB8E3

Accessibility & contrast

On white

4.65
#3A74C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3A74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A74C8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A74C8#FFFFFF#000000##FFFFFF
##3A74C81.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#346EC6
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a74c8;
/* rgb */ color: rgb(58, 116, 200);
/* oklch */ color: oklch(56.3% 0.144 257.9);
Tailwind
colors: {
  custom: {
    50: '#819bd9',
    500: '#3a74c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a74c8;
$custom-light: #819bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a74c8",
  "rgb": {
    "r": 58,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 215.493,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.14389,
    "h": 257.9
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#3A74C8
secondary
#CEB58F
accent
#A248E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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