#3A6BB5#3A6BB5

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

Color values

HEX#3A6BB5
RGBrgb(58, 107, 181)
HSLhsl(216, 51%, 47%)
HSVhsv(216, 68%, 71%)
CMYKcmyk(68%, 40.9%, 0%, 29%)
CIE-LABlab(45.29, 8.05, -44.12)
CIE-LCHlch(45.29, 44.85, 280.34°)
OKLaboklab(53.06% -0.0256 -0.1258)
OKLCHoklch(53.06% 0.128 258.5)
XYZxyz(15.3401, 14.7496, 45.7456)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB5 #B5843A
analogous
#3AA8B5 #3A6BB5 #473AB5
triadic
#3A6BB5 #B53A6B #6BB53A
tetradic
#3A6BB5 #B53AA8 #B5843A #3AB547
square
#3A6BB5 #B53AA8 #B5843A #3AB547
split-complementary
#3A6BB5 #B5473A #A8B53A
monochromatic
#1C3458 #2B5087 #3A6BB5 #608BCC #8EADDB

Accessibility & contrast

On white

5.32
#3A6BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3A6BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BB5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB5#FFFFFF#000000##FFFFFF
##3A6BB51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B8
Deuteranopia (green-blind)
#3666B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb5;
/* rgb */ color: rgb(58, 107, 181);
/* oklch */ color: oklch(53.1% 0.128 258.5);
Tailwind
colors: {
  custom: {
    50: '#7e94cb',
    500: '#3a6bb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb5;
$custom-light: #7e94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb5",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 216.098,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.12836,
    "h": 258.5
  },
  "luminance": 0.14751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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