#3A6FBD#3A6FBD

#3A6FBD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.135 H 258.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3A6FBD
RGBrgb(58, 111, 189)
HSLhsl(216, 53%, 48%)
HSVhsv(216, 69%, 74%)
CMYKcmyk(69.3%, 41.3%, 0%, 25.9%)
CIE-LABlab(46.90, 8.44, -46.20)
CIE-LCHlch(46.90, 46.97, 280.36°)
OKLaboklab(54.46% -0.0278 -0.1318)
OKLCHoklch(54.46% 0.135 258.1)
XYZxyz(16.6113, 15.9408, 50.3357)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FBD #BD883A
analogous
#3AB0BD #3A6FBD #463ABD
triadic
#3A6FBD #BD3A6F #6FBD3A
tetradic
#3A6FBD #BD3AB0 #BD883A #3ABD46
square
#3A6FBD #BD3AB0 #BD883A #3ABD46
split-complementary
#3A6FBD #BD463A #B0BD3A
monochromatic
#1D385F #2C538E #3A6FBD #6590D0 #93B2DE

Accessibility & contrast

On white

5.01
#3A6FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3A6FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FBD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FBD#FFFFFF#000000##FFFFFF
##3A6FBD1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6fbd;
/* rgb */ color: rgb(58, 111, 189);
/* oklch */ color: oklch(54.5% 0.135 258.1);
Tailwind
colors: {
  custom: {
    50: '#7f97d1',
    500: '#3a6fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fbd;
$custom-light: #7f97d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fbd",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 189
  },
  "hsl": {
    "h": 215.725,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.13473,
    "h": 258.1
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#3A6FBD
secondary
#C9AF8A
accent
#A24BDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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