#3A6FBF#3A6FBF

#3A6FBF is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.6% C 0.137 H 258.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3A6FBF
RGBrgb(58, 111, 191)
HSLhsl(216, 53%, 49%)
HSVhsv(216, 70%, 75%)
CMYKcmyk(69.6%, 41.9%, 0%, 25.1%)
CIE-LABlab(47.01, 9.17, -47.17)
CIE-LCHlch(47.01, 48.06, 281.00°)
OKLaboklab(54.58% -0.0274 -0.1347)
OKLCHoklch(54.58% 0.137 258.5)
XYZxyz(16.8299, 16.0283, 51.4869)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FBF #BF8A3A
analogous
#3AB2BF #3A6FBF #473ABF
triadic
#3A6FBF #BF3A6F #6FBF3A
tetradic
#3A6FBF #BF3AB2 #BF8A3A #3ABF47
square
#3A6FBF #BF3AB2 #BF8A3A #3ABF47
split-complementary
#3A6FBF #BF473A #B2BF3A
monochromatic
#1D3861 #2C5490 #3A6FBF #6690D0 #95B2DF

Accessibility & contrast

On white

4.99
#3A6FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#3A6FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FBF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FBF#FFFFFF#000000##FFFFFF
##3A6FBF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4976C2
Deuteranopia (green-blind)
#336ABD
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6fbf;
/* rgb */ color: rgb(58, 111, 191);
/* oklch */ color: oklch(54.6% 0.137 258.5);
Tailwind
colors: {
  custom: {
    50: '#7f97d3',
    500: '#3a6fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fbf;
$custom-light: #7f97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fbf",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 191
  },
  "hsl": {
    "h": 216.09,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54585,
    "c": 0.13743,
    "h": 258.5
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#3A6FBF
secondary
#CAB18B
accent
#A34BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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