#3A6FBB#3A6FBB

#3A6FBB is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.3% C 0.132 H 257.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A6FBB
RGBrgb(58, 111, 187)
HSLhsl(215, 53%, 48%)
HSVhsv(215, 69%, 73%)
CMYKcmyk(69%, 40.6%, 0%, 26.7%)
CIE-LABlab(46.78, 7.72, -45.23)
CIE-LCHlch(46.78, 45.88, 279.68°)
OKLaboklab(54.33% -0.0282 -0.129)
OKLCHoklch(54.33% 0.132 257.6)
XYZxyz(16.3958, 15.8546, 49.2002)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FBB #BB863A
analogous
#3AAFBB #3A6FBB #463ABB
triadic
#3A6FBB #BB3A6F #6FBB3A
tetradic
#3A6FBB #BB3AAF #BB863A #3ABB46
square
#3A6FBB #BB3AAF #BB863A #3ABB46
split-complementary
#3A6FBB #BB463A #AFBB3A
monochromatic
#1D385E #2C538C #3A6FBB #6390CF #92B1DD

Accessibility & contrast

On white

5.03
#3A6FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3A6FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FBB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FBB#FFFFFF#000000##FFFFFF
##3A6FBB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6fbb;
/* rgb */ color: rgb(58, 111, 187);
/* oklch */ color: oklch(54.3% 0.132 257.6);
Tailwind
colors: {
  custom: {
    50: '#7f97d0',
    500: '#3a6fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fbb;
$custom-light: #7f97d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fbb",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 215.349,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54334,
    "c": 0.13202,
    "h": 257.6
  },
  "luminance": 0.15856
}

Semantic roles & 50–950 ramp

primary
#3A6FBB
secondary
#C8AE88
accent
#A14CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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