#3A6EB7#3A6EB7

#3A6EB7 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 53.9% C 0.128 H 257.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3A6EB7
RGBrgb(58, 110, 183)
HSLhsl(215, 52%, 47%)
HSVhsv(215, 68%, 72%)
CMYKcmyk(68.3%, 39.9%, 0%, 28.2%)
CIE-LABlab(46.27, 6.90, -43.72)
CIE-LCHlch(46.27, 44.27, 278.96°)
OKLaboklab(53.86% -0.0281 -0.1246)
OKLCHoklch(53.86% 0.128 257.3)
XYZxyz(15.8650, 15.4687, 46.9402)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EB7 #B7833A
analogous
#3AADB7 #3A6EB7 #453AB7
triadic
#3A6EB7 #B73A6E #6EB73A
tetradic
#3A6EB7 #B73AAD #B7833A #3AB745
square
#3A6EB7 #B73AAD #B7833A #3AB745
split-complementary
#3A6EB7 #B7453A #ADB73A
monochromatic
#1D365A #2B5289 #3A6EB7 #618ECD #90AFDC

Accessibility & contrast

On white

5.13
#3A6EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#3A6EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EB7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EB7#FFFFFF#000000##FFFFFF
##3A6EB71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D74BA
Deuteranopia (green-blind)
#3A68B6
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6eb7;
/* rgb */ color: rgb(58, 110, 183);
/* oklch */ color: oklch(53.9% 0.128 257.3);
Tailwind
colors: {
  custom: {
    50: '#7e97cd',
    500: '#3a6eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6eb7;
$custom-light: #7e97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6eb7",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 183
  },
  "hsl": {
    "h": 215.04,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53862,
    "c": 0.12771,
    "h": 257.3
  },
  "luminance": 0.1547
}

Semantic roles & 50–950 ramp

primary
#3A6EB7
secondary
#C7AC86
accent
#A04CDB
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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