#3A6CC8#3A6CC8

#3A6CC8 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.5% C 0.153 H 261.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC8
RGBrgb(58, 108, 200)
HSLhsl(219, 56%, 51%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(71%, 46%, 0%, 21.6%)
CIE-LABlab(46.70, 14.34, -52.85)
CIE-LCHlch(46.70, 54.76, 285.18°)
OKLaboklab(54.52% -0.023 -0.1514)
OKLCHoklch(54.52% 0.153 261.4)
XYZxyz(17.5291, 15.7929, 56.7569)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC8 #C8963A
analogous
#3AB3C8 #3A6CC8 #4F3AC8
triadic
#3A6CC8 #C83A6C #6CC83A
tetradic
#3A6CC8 #C83AB3 #C8963A #3AC84F
square
#3A6CC8 #C83AB3 #C8963A #3AC84F
split-complementary
#3A6CC8 #C84F3A #B3C83A
monochromatic
#1E386A #2B529A #3A6CC8 #6A90D5 #9AB3E3

Accessibility & contrast

On white

5.05
#3A6CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#3A6CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC8
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC8#FFFFFF#000000##FFFFFF
##3A6CC81.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#1E69C6
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6cc8;
/* rgb */ color: rgb(58, 108, 200);
/* oklch */ color: oklch(54.5% 0.153 261.4);
Tailwind
colors: {
  custom: {
    50: '#8195d9',
    500: '#3a6cc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc8;
$custom-light: #8195d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc8",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 200
  },
  "hsl": {
    "h": 218.873,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.15315,
    "h": 261.4
  },
  "luminance": 0.15795
}

Semantic roles & 50–950 ramp

primary
#3A6CC8
secondary
#CEB88F
accent
#AA48E0
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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