#3A6DBE#3A6DBE

#3A6DBE is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.1% C 0.138 H 259.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3A6DBE
RGBrgb(58, 109, 190)
HSLhsl(217, 53%, 49%)
HSVhsv(217, 69%, 75%)
CMYKcmyk(69.5%, 42.6%, 0%, 25.5%)
CIE-LABlab(46.38, 10.06, -47.60)
CIE-LCHlch(46.38, 48.65, 281.93°)
OKLaboklab(54.08% -0.0257 -0.136)
OKLCHoklch(54.08% 0.138 259.3)
XYZxyz(16.5045, 15.5528, 50.8374)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DBE #BE8B3A
analogous
#3AAFBE #3A6DBE #493ABE
triadic
#3A6DBE #BE3A6D #6DBE3A
tetradic
#3A6DBE #BE3AAF #BE8B3A #3ABE49
square
#3A6DBE #BE3AAF #BE8B3A #3ABE49
split-complementary
#3A6DBE #BE493A #AFBE3A
monochromatic
#1D3760 #2C528F #3A6DBE #658ED0 #94B1DE

Accessibility & contrast

On white

5.11
#3A6DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3A6DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DBE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DBE#FFFFFF#000000##FFFFFF
##3A6DBE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4674C1
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#00808C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6dbe;
/* rgb */ color: rgb(58, 109, 190);
/* oklch */ color: oklch(54.1% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#7f96d2',
    500: '#3a6dbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dbe;
$custom-light: #7f96d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dbe",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 216.818,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54079,
    "c": 0.13838,
    "h": 259.3
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#3A6DBE
secondary
#CAB18A
accent
#A44BDD
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3A6DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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