#3A6CC3#3A6CC3

#3A6CC3 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.2% C 0.146 H 260.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC3
RGBrgb(58, 108, 195)
HSLhsl(218, 54%, 50%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(70.3%, 44.6%, 0%, 23.5%)
CIE-LABlab(46.40, 12.51, -50.47)
CIE-LCHlch(46.40, 51.99, 283.93°)
OKLaboklab(54.19% -0.0238 -0.1444)
OKLCHoklch(54.19% 0.146 260.6)
XYZxyz(16.9543, 15.5630, 53.7296)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC3 #C3913A
analogous
#3AB1C3 #3A6CC3 #4C3AC3
triadic
#3A6CC3 #C33A6C #6CC33A
tetradic
#3A6CC3 #C33AB1 #C3913A #3AC34C
square
#3A6CC3 #C33AB1 #C3913A #3AC34C
split-complementary
#3A6CC3 #C34C3A #B1C33A
monochromatic
#1E3865 #2C5294 #3A6CC3 #688FD2 #97B2E0

Accessibility & contrast

On white

5.11
#3A6CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3A6CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC3#FFFFFF#000000##FFFFFF
##3A6CC31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6cc3;
/* rgb */ color: rgb(58, 108, 195);
/* oklch */ color: oklch(54.2% 0.146 260.6);
Tailwind
colors: {
  custom: {
    50: '#8095d6',
    500: '#3a6cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc3;
$custom-light: #8095d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc3",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 195
  },
  "hsl": {
    "h": 218.102,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54185,
    "c": 0.14635,
    "h": 260.6
  },
  "luminance": 0.15565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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