#3A6BB4#3A6BB4

#3A6BB4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.0% C 0.127 H 258.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB4
RGBrgb(58, 107, 180)
HSLhsl(216, 51%, 47%)
HSVhsv(216, 68%, 71%)
CMYKcmyk(67.8%, 40.6%, 0%, 29.4%)
CIE-LABlab(45.23, 7.69, -43.63)
CIE-LCHlch(45.23, 44.30, 279.99°)
OKLaboklab(53% -0.0258 -0.1243)
OKLCHoklch(53% 0.127 258.3)
XYZxyz(15.2379, 14.7087, 45.2072)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB4 #B4833A
analogous
#3AA8B4 #3A6BB4 #463AB4
triadic
#3A6BB4 #B43A6B #6BB43A
tetradic
#3A6BB4 #B43AA8 #B4833A #3AB446
square
#3A6BB4 #B43AA8 #B4833A #3AB446
split-complementary
#3A6BB4 #B4463A #A8B43A
monochromatic
#1C3457 #2B4F86 #3A6BB4 #608BCC #8EADDB

Accessibility & contrast

On white

5.33
#3A6BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3A6BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BB4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB4#FFFFFF#000000##FFFFFF
##3A6BB41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B7
Deuteranopia (green-blind)
#3766B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb4;
/* rgb */ color: rgb(58, 107, 180);
/* oklch */ color: oklch(53.0% 0.127 258.3);
Tailwind
colors: {
  custom: {
    50: '#7d94cb',
    500: '#3a6bb4',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb4;
$custom-light: #7d94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb4",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 215.902,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53002,
    "c": 0.127,
    "h": 258.3
  },
  "luminance": 0.1471
}

Semantic roles & 50–950 ramp

primary
#3A6BB4
secondary
#C5AB85
accent
#A24DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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