#3A6BB2#3A6BB2

#3A6BB2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.9% C 0.124 H 257.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB2
RGBrgb(58, 107, 178)
HSLhsl(216, 51%, 46%)
HSVhsv(216, 67%, 70%)
CMYKcmyk(67.4%, 39.9%, 0%, 30.2%)
CIE-LABlab(45.12, 6.97, -42.64)
CIE-LCHlch(45.12, 43.21, 279.28°)
OKLaboklab(52.88% -0.0263 -0.1214)
OKLCHoklch(52.88% 0.124 257.8)
XYZxyz(15.0356, 14.6278, 44.1419)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB2 #B2813A
analogous
#3AA7B2 #3A6BB2 #453AB2
triadic
#3A6BB2 #B23A6B #6BB23A
tetradic
#3A6BB2 #B23AA7 #B2813A #3AB245
square
#3A6BB2 #B23AA7 #B2813A #3AB245
split-complementary
#3A6BB2 #B2453A #A7B23A
monochromatic
#1C3456 #2B4F84 #3A6BB2 #5F8BCB #8DACDA

Accessibility & contrast

On white

5.35
#3A6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6BB2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB2#FFFFFF#000000##FFFFFF
##3A6BB21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#3966B1
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb2;
/* rgb */ color: rgb(58, 107, 178);
/* oklch */ color: oklch(52.9% 0.124 257.8);
Tailwind
colors: {
  custom: {
    50: '#7d94c9',
    500: '#3a6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb2;
$custom-light: #7d94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb2",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 215.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52878,
    "c": 0.12426,
    "h": 257.8
  },
  "luminance": 0.14629
}

Semantic roles & 50–950 ramp

primary
#3A6BB2
secondary
#C4AA83
accent
#A14DDA
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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