#3A6CC4#3A6CC4

#3A6CC4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.148 H 260.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC4
RGBrgb(58, 108, 196)
HSLhsl(218, 54%, 50%)
HSVhsv(218, 70%, 77%)
CMYKcmyk(70.4%, 44.9%, 0%, 23.1%)
CIE-LABlab(46.46, 12.88, -50.95)
CIE-LCHlch(46.46, 52.55, 284.19°)
OKLaboklab(54.25% -0.0236 -0.1458)
OKLCHoklch(54.25% 0.148 260.8)
XYZxyz(17.0677, 15.6084, 54.3271)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC4 #C4923A
analogous
#3AB1C4 #3A6CC4 #4D3AC4
triadic
#3A6CC4 #C43A6C #6CC43A
tetradic
#3A6CC4 #C43AB1 #C4923A #3AC44D
square
#3A6CC4 #C43AB1 #C4923A #3AC44D
split-complementary
#3A6CC4 #C44D3A #B1C43A
monochromatic
#1E3866 #2C5295 #3A6CC4 #698FD3 #98B2E0

Accessibility & contrast

On white

5.09
#3A6CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A6CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC4#FFFFFF#000000##FFFFFF
##3A6CC41.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#2568C2
Tritanopia (blue-blind)
#00818E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6cc4;
/* rgb */ color: rgb(58, 108, 196);
/* oklch */ color: oklch(54.3% 0.148 260.8);
Tailwind
colors: {
  custom: {
    50: '#8095d6',
    500: '#3a6cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc4;
$custom-light: #8095d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc4",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 196
  },
  "hsl": {
    "h": 218.261,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.14771,
    "h": 260.8
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#3A6CC4
secondary
#CCB58E
accent
#A84ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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