#3A6BC8#3A6BC8

#3A6BC8 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.154 H 261.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC8
RGBrgb(58, 107, 200)
HSLhsl(219, 56%, 51%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(71%, 46.5%, 0%, 21.6%)
CIE-LABlab(46.42, 14.97, -53.30)
CIE-LCHlch(46.42, 55.36, 285.69°)
OKLaboklab(54.31% -0.0221 -0.1527)
OKLCHoklch(54.31% 0.154 261.8)
XYZxyz(17.4242, 15.5832, 56.7220)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC8 #C8973A
analogous
#3AB2C8 #3A6BC8 #503AC8
triadic
#3A6BC8 #C83A6B #6BC83A
tetradic
#3A6BC8 #C83AB2 #C8973A #3AC850
square
#3A6BC8 #C83AB2 #C8973A #3AC850
split-complementary
#3A6BC8 #C8503A #B2C83A
monochromatic
#1E386A #2B519A #3A6BC8 #6A8FD5 #9AB3E3

Accessibility & contrast

On white

5.10
#3A6BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3A6BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC8#FFFFFF#000000##FFFFFF
##3A6BC81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CB
Deuteranopia (green-blind)
#1A68C6
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6bc8;
/* rgb */ color: rgb(58, 107, 200);
/* oklch */ color: oklch(54.3% 0.154 261.8);
Tailwind
colors: {
  custom: {
    50: '#8194d9',
    500: '#3a6bc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc8;
$custom-light: #8194d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc8",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 200
  },
  "hsl": {
    "h": 219.296,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.15433,
    "h": 261.8
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#3A6BC8
secondary
#CEB98F
accent
#AB48E0
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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