#3A6CC6#3A6CC6

#3A6CC6 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.4% C 0.150 H 261.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC6
RGBrgb(58, 108, 198)
HSLhsl(219, 55%, 50%)
HSVhsv(219, 71%, 78%)
CMYKcmyk(70.7%, 45.5%, 0%, 22.4%)
CIE-LABlab(46.58, 13.61, -51.90)
CIE-LCHlch(46.58, 53.66, 284.69°)
OKLaboklab(54.38% -0.0233 -0.1486)
OKLCHoklch(54.38% 0.15 261.1)
XYZxyz(17.2969, 15.7001, 55.5340)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC6 #C6943A
analogous
#3AB2C6 #3A6CC6 #4E3AC6
triadic
#3A6CC6 #C63A6C #6CC63A
tetradic
#3A6CC6 #C63AB2 #C6943A #3AC64E
square
#3A6CC6 #C63AB2 #C6943A #3AC64E
split-complementary
#3A6CC6 #C64E3A #B2C63A
monochromatic
#1E3868 #2C5297 #3A6CC6 #698FD4 #99B3E1

Accessibility & contrast

On white

5.07
#3A6CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3A6CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC6#FFFFFF#000000##FFFFFF
##3A6CC61.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C9
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6cc6;
/* rgb */ color: rgb(58, 108, 198);
/* oklch */ color: oklch(54.4% 0.150 261.1);
Tailwind
colors: {
  custom: {
    50: '#8195d8',
    500: '#3a6cc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc6;
$custom-light: #8195d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc6",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 198
  },
  "hsl": {
    "h": 218.571,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.15043,
    "h": 261.1
  },
  "luminance": 0.15702
}

Semantic roles & 50–950 ramp

primary
#3A6CC6
secondary
#CDB78F
accent
#A949DE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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