#3A6BB7#3A6BB7

#3A6BB7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.131 H 258.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB7
RGBrgb(58, 107, 183)
HSLhsl(216, 52%, 47%)
HSVhsv(216, 68%, 72%)
CMYKcmyk(68.3%, 41.5%, 0%, 28.2%)
CIE-LABlab(45.40, 8.78, -45.10)
CIE-LCHlch(45.40, 45.95, 281.01°)
OKLaboklab(53.19% -0.0252 -0.1287)
OKLCHoklch(53.19% 0.131 258.9)
XYZxyz(15.5468, 14.8322, 46.8341)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB7 #B7863A
analogous
#3AAAB7 #3A6BB7 #483AB7
triadic
#3A6BB7 #B73A6B #6BB73A
tetradic
#3A6BB7 #B73AAA #B7863A #3AB748
square
#3A6BB7 #B73AAA #B7863A #3AB748
split-complementary
#3A6BB7 #B7483A #AAB73A
monochromatic
#1D355A #2B5089 #3A6BB7 #618BCD #90ADDC

Accessibility & contrast

On white

5.29
#3A6BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#3A6BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BB7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB7#FFFFFF#000000##FFFFFF
##3A6BB71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb7;
/* rgb */ color: rgb(58, 107, 183);
/* oklch */ color: oklch(53.2% 0.131 258.9);
Tailwind
colors: {
  custom: {
    50: '#7e94cd',
    500: '#3a6bb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb7;
$custom-light: #7e94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb7",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 216.48,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.1311,
    "h": 258.9
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#3A6BB7
secondary
#C7AD86
accent
#A34CDB
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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