#3A6BB6#3A6BB6

#3A6BB6 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.1% C 0.130 H 258.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB6
RGBrgb(58, 107, 182)
HSLhsl(216, 52%, 47%)
HSVhsv(216, 68%, 71%)
CMYKcmyk(68.1%, 41.2%, 0%, 28.6%)
CIE-LABlab(45.35, 8.41, -44.61)
CIE-LCHlch(45.35, 45.40, 280.68°)
OKLaboklab(53.13% -0.0254 -0.1272)
OKLCHoklch(53.13% 0.13 258.7)
XYZxyz(15.4431, 14.7908, 46.2879)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB6 #B6853A
analogous
#3AA9B6 #3A6BB6 #473AB6
triadic
#3A6BB6 #B63A6B #6BB63A
tetradic
#3A6BB6 #B63AA9 #B6853A #3AB647
square
#3A6BB6 #B63AA9 #B6853A #3AB647
split-complementary
#3A6BB6 #B6473A #A9B63A
monochromatic
#1C3459 #2B5088 #3A6BB6 #618BCD #8FADDB

Accessibility & contrast

On white

5.31
#3A6BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#3A6BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BB6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB6#FFFFFF#000000##FFFFFF
##3A6BB61.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4872B9
Deuteranopia (green-blind)
#3566B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb6;
/* rgb */ color: rgb(58, 107, 182);
/* oklch */ color: oklch(53.1% 0.130 258.7);
Tailwind
colors: {
  custom: {
    50: '#7e94cc',
    500: '#3a6bb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb6;
$custom-light: #7e94cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb6",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 182
  },
  "hsl": {
    "h": 216.29,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.12973,
    "h": 258.7
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#3A6BB6
secondary
#C6AD86
accent
#A34DDB
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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