#3A6BC3#3A6BC3

#3A6BC3 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.148 H 261.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC3
RGBrgb(58, 107, 195)
HSLhsl(219, 54%, 50%)
HSVhsv(219, 70%, 76%)
CMYKcmyk(70.3%, 45.1%, 0%, 23.5%)
CIE-LABlab(46.11, 13.14, -50.92)
CIE-LCHlch(46.11, 52.59, 284.48°)
OKLaboklab(53.97% -0.0229 -0.1457)
OKLCHoklch(53.97% 0.148 261.1)
XYZxyz(16.8494, 15.3533, 53.6947)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC3 #C3923A
analogous
#3AB0C3 #3A6BC3 #4E3AC3
triadic
#3A6BC3 #C33A6B #6BC33A
tetradic
#3A6BC3 #C33AB0 #C3923A #3AC34E
square
#3A6BC3 #C33AB0 #C3923A #3AC34E
split-complementary
#3A6BC3 #C34E3A #B0C33A
monochromatic
#1E3765 #2C5194 #3A6BC3 #688ED2 #97B1E0

Accessibility & contrast

On white

5.16
#3A6BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3A6BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC3#FFFFFF#000000##FFFFFF
##3A6BC31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#2467C1
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6bc3;
/* rgb */ color: rgb(58, 107, 195);
/* oklch */ color: oklch(54.0% 0.148 261.1);
Tailwind
colors: {
  custom: {
    50: '#8094d6',
    500: '#3a6bc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc3;
$custom-light: #8094d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc3",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 195
  },
  "hsl": {
    "h": 218.54,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.14753,
    "h": 261.1
  },
  "luminance": 0.15355
}

Semantic roles & 50–950 ramp

primary
#3A6BC3
secondary
#CCB58D
accent
#A94ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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