#3A6CC7#3A6CC7

#3A6CC7 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.5% C 0.152 H 261.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC7
RGBrgb(58, 108, 199)
HSLhsl(219, 56%, 50%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(70.9%, 45.7%, 0%, 22%)
CIE-LABlab(46.64, 13.97, -52.38)
CIE-LCHlch(46.64, 54.21, 284.94°)
OKLaboklab(54.45% -0.0231 -0.15)
OKLCHoklch(54.45% 0.152 261.2)
XYZxyz(17.4126, 15.7463, 56.1434)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC7 #C7953A
analogous
#3AB3C7 #3A6CC7 #4E3AC7
triadic
#3A6CC7 #C73A6C #6CC73A
tetradic
#3A6CC7 #C73AB3 #C7953A #3AC74E
square
#3A6CC7 #C73AB3 #C7953A #3AC74E
split-complementary
#3A6CC7 #C74E3A #B3C73A
monochromatic
#1E3869 #2B5298 #3A6CC7 #6A90D5 #99B3E2

Accessibility & contrast

On white

5.06
#3A6CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3A6CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC7#FFFFFF#000000##FFFFFF
##3A6CC71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CA
Deuteranopia (green-blind)
#2068C5
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6cc7;
/* rgb */ color: rgb(58, 108, 199);
/* oklch */ color: oklch(54.5% 0.152 261.2);
Tailwind
colors: {
  custom: {
    50: '#8195d8',
    500: '#3a6cc7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc7;
$custom-light: #8195d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc7",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 218.723,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.15179,
    "h": 261.2
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#3A6CC7
secondary
#CEB88F
accent
#AA49DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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