#3A6DB8#3A6DB8

#3A6DB8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.7% C 0.130 H 258.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3A6DB8
RGBrgb(58, 109, 184)
HSLhsl(216, 52%, 47%)
HSVhsv(216, 68%, 72%)
CMYKcmyk(68.5%, 40.8%, 0%, 27.8%)
CIE-LABlab(46.04, 7.88, -44.68)
CIE-LCHlch(46.04, 45.37, 280.01°)
OKLaboklab(53.7% -0.0269 -0.1274)
OKLCHoklch(53.7% 0.13 258.1)
XYZxyz(15.8622, 15.2959, 47.4546)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DB8 #B8853A
analogous
#3AACB8 #3A6DB8 #463AB8
triadic
#3A6DB8 #B83A6D #6DB83A
tetradic
#3A6DB8 #B83AAC #B8853A #3AB846
square
#3A6DB8 #B83AAC #B8853A #3AB846
split-complementary
#3A6DB8 #B8463A #ACB83A
monochromatic
#1D365B #2B5189 #3A6DB8 #628DCD #90AFDC

Accessibility & contrast

On white

5.17
#3A6DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3A6DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DB8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DB8#FFFFFF#000000##FFFFFF
##3A6DB81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#3768B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6db8;
/* rgb */ color: rgb(58, 109, 184);
/* oklch */ color: oklch(53.7% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#7e96ce',
    500: '#3a6db8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6db8;
$custom-light: #7e96ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6db8",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 215.714,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.1302,
    "h": 258.1
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#3A6DB8
secondary
#C7AD87
accent
#A24CDC
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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