#3A6BCF#3A6BCF

#3A6BCF is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.8% C 0.164 H 262.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A6BCF
RGBrgb(58, 107, 207)
HSLhsl(220, 61%, 52%)
HSVhsv(220, 72%, 81%)
CMYKcmyk(72%, 48.3%, 0%, 18.8%)
CIE-LABlab(46.87, 17.54, -56.60)
CIE-LCHlch(46.87, 59.25, 287.21°)
OKLaboklab(54.79% -0.021 -0.1625)
OKLCHoklch(54.79% 0.164 262.6)
XYZxyz(18.2611, 15.9180, 61.1295)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BCF #CF9E3A
analogous
#3AB6CF #3A6BCF #533ACF
triadic
#3A6BCF #CF3A6B #6BCF3A
tetradic
#3A6BCF #CF3AB6 #CF9E3A #3ACF53
square
#3A6BCF #CF3AB6 #CF9E3A #3ACF53
split-complementary
#3A6BCF #CF533A #B6CF3A
monochromatic
#1C3873 #2851A4 #3A6BCF #6B90DB #9CB5E7

Accessibility & contrast

On white

5.02
#3A6BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#3A6BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BCF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BCF#FFFFFF#000000##FFFFFF
##3A6BCF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#0069CD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6bcf;
/* rgb */ color: rgb(58, 107, 207);
/* oklch */ color: oklch(54.8% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#8394de',
    500: '#3a6bcf',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bcf;
$custom-light: #8394de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bcf",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 220.268,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.16381,
    "h": 262.6
  },
  "luminance": 0.1592
}

Semantic roles & 50–950 ramp

primary
#3A6BCF
secondary
#D3BE92
accent
#AF44E4
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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