#3A6DB7#3A6DB7

#3A6DB7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.6% C 0.129 H 257.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3A6DB7
RGBrgb(58, 109, 183)
HSLhsl(216, 52%, 47%)
HSVhsv(216, 68%, 72%)
CMYKcmyk(68.3%, 40.4%, 0%, 28.2%)
CIE-LABlab(45.98, 7.52, -44.19)
CIE-LCHlch(45.98, 44.82, 279.66°)
OKLaboklab(53.64% -0.0272 -0.1259)
OKLCHoklch(53.64% 0.129 257.8)
XYZxyz(15.7577, 15.2541, 46.9045)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DB7 #B7843A
analogous
#3AACB7 #3A6DB7 #463AB7
triadic
#3A6DB7 #B73A6D #6DB73A
tetradic
#3A6DB7 #B73AAC #B7843A #3AB746
square
#3A6DB7 #B73AAC #B7843A #3AB746
split-complementary
#3A6DB7 #B7463A #ACB73A
monochromatic
#1D365A #2B5189 #3A6DB7 #618DCD #90AFDC

Accessibility & contrast

On white

5.18
#3A6DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3A6DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DB7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DB7#FFFFFF#000000##FFFFFF
##3A6DB71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B73BA
Deuteranopia (green-blind)
#3868B5
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6db7;
/* rgb */ color: rgb(58, 109, 183);
/* oklch */ color: oklch(53.6% 0.129 257.8);
Tailwind
colors: {
  custom: {
    50: '#7e96cd',
    500: '#3a6db7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6db7;
$custom-light: #7e96cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6db7",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 215.52,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.12884,
    "h": 257.8
  },
  "luminance": 0.15256
}

Semantic roles & 50–950 ramp

primary
#3A6DB7
secondary
#C7AC86
accent
#A14CDB
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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