#3A6BB3#3A6BB3

#3A6BB3 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 52.9% C 0.126 H 258.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB3
RGBrgb(58, 107, 179)
HSLhsl(216, 51%, 46%)
HSVhsv(216, 68%, 70%)
CMYKcmyk(67.6%, 40.2%, 0%, 29.8%)
CIE-LABlab(45.18, 7.33, -43.14)
CIE-LCHlch(45.18, 43.75, 279.64°)
OKLaboklab(52.94% -0.0261 -0.1229)
OKLCHoklch(52.94% 0.126 258)
XYZxyz(15.1364, 14.6681, 44.6726)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB3 #B3823A
analogous
#3AA8B3 #3A6BB3 #453AB3
triadic
#3A6BB3 #B33A6B #6BB33A
tetradic
#3A6BB3 #B33AA8 #B3823A #3AB345
square
#3A6BB3 #B33AA8 #B3823A #3AB345
split-complementary
#3A6BB3 #B3453A #A8B33A
monochromatic
#1C3457 #2B4F85 #3A6BB3 #5F8BCB #8DACDA

Accessibility & contrast

On white

5.34
#3A6BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3A6BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BB3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB3#FFFFFF#000000##FFFFFF
##3A6BB31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#3866B2
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb3;
/* rgb */ color: rgb(58, 107, 179);
/* oklch */ color: oklch(52.9% 0.126 258.0);
Tailwind
colors: {
  custom: {
    50: '#7d94ca',
    500: '#3a6bb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb3;
$custom-light: #7d94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb3",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 179
  },
  "hsl": {
    "h": 215.702,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.12563,
    "h": 258
  },
  "luminance": 0.1467
}

Semantic roles & 50–950 ramp

primary
#3A6BB3
secondary
#C5AB84
accent
#A14DDB
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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