#3A6BB1#3A6BB1

#3A6BB1 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 52.8% C 0.123 H 257.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3A6BB1
RGBrgb(58, 107, 177)
HSLhsl(215, 51%, 46%)
HSVhsv(215, 67%, 69%)
CMYKcmyk(67.2%, 39.5%, 0%, 30.6%)
CIE-LABlab(45.06, 6.61, -42.15)
CIE-LCHlch(45.06, 42.66, 278.91°)
OKLaboklab(52.82% -0.0265 -0.12)
OKLCHoklch(52.82% 0.123 257.5)
XYZxyz(14.9356, 14.5878, 43.6151)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BB1 #B1803A
analogous
#3AA6B1 #3A6BB1 #443AB1
triadic
#3A6BB1 #B13A6B #6BB13A
tetradic
#3A6BB1 #B13AA6 #B1803A #3AB144
square
#3A6BB1 #B13AA6 #B1803A #3AB144
split-complementary
#3A6BB1 #B1443A #A6B13A
monochromatic
#1C3355 #2B4F83 #3A6BB1 #5E8BCA #8CACD9

Accessibility & contrast

On white

5.36
#3A6BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3A6BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BB1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BB1#FFFFFF#000000##FFFFFF
##3A6BB11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B4
Deuteranopia (green-blind)
#3A66B0
Tritanopia (blue-blind)
#007B85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a6bb1;
/* rgb */ color: rgb(58, 107, 177);
/* oklch */ color: oklch(52.8% 0.123 257.5);
Tailwind
colors: {
  custom: {
    50: '#7d94c9',
    500: '#3a6bb1',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bb1;
$custom-light: #7d94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bb1",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 215.294,
    "s": 50.638,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.12289,
    "h": 257.5
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#3A6BB1
secondary
#C4A983
accent
#A04EDA
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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