#3A6FCC#3A6FCC

#3A6FCC is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.4% C 0.155 H 260.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A6FCC
RGBrgb(58, 111, 204)
HSLhsl(218, 59%, 51%)
HSVhsv(218, 72%, 80%)
CMYKcmyk(71.6%, 45.6%, 0%, 20%)
CIE-LABlab(47.79, 13.91, -53.41)
CIE-LCHlch(47.79, 55.19, 284.60°)
OKLaboklab(55.43% -0.0249 -0.153)
OKLCHoklch(55.43% 0.155 260.7)
XYZxyz(18.3245, 16.6261, 59.3585)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FCC #CC973A
analogous
#3AB8CC #3A6FCC #4E3ACC
triadic
#3A6FCC #CC3A6F #6FCC3A
tetradic
#3A6FCC #CC3AB8 #CC973A #3ACC4E
square
#3A6FCC #CC3AB8 #CC973A #3ACC4E
split-complementary
#3A6FCC #CC4E3A #B8CC3A
monochromatic
#1D3B6F #2954A0 #3A6FCC #6B93D9 #9BB6E5

Accessibility & contrast

On white

4.85
#3A6FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3A6FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FCC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FCC#FFFFFF#000000##FFFFFF
##3A6FCC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D0
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a6fcc;
/* rgb */ color: rgb(58, 111, 204);
/* oklch */ color: oklch(55.4% 0.155 260.7);
Tailwind
colors: {
  custom: {
    50: '#8297dc',
    500: '#3a6fcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fcc;
$custom-light: #8297dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fcc",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 204
  },
  "hsl": {
    "h": 218.219,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.15502,
    "h": 260.7
  },
  "luminance": 0.16628
}

Semantic roles & 50–950 ramp

primary
#3A6FCC
secondary
#D1BA91
accent
#A946E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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