#3A6CC1#3A6CC1

#3A6CC1 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.144 H 260.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC1
RGBrgb(58, 108, 193)
HSLhsl(218, 54%, 49%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(69.9%, 44%, 0%, 24.3%)
CIE-LABlab(46.28, 11.78, -49.50)
CIE-LCHlch(46.28, 50.89, 283.39°)
OKLaboklab(54.05% -0.0242 -0.1416)
OKLCHoklch(54.05% 0.144 260.3)
XYZxyz(16.7297, 15.4732, 52.5467)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC1 #C18F3A
analogous
#3AB0C1 #3A6CC1 #4C3AC1
triadic
#3A6CC1 #C13A6C #6CC13A
tetradic
#3A6CC1 #C13AB0 #C18F3A #3AC14C
square
#3A6CC1 #C13AB0 #C18F3A #3AC14C
split-complementary
#3A6CC1 #C14C3A #B0C13A
monochromatic
#1E3763 #2C5292 #3A6CC1 #678ED1 #96B1DF

Accessibility & contrast

On white

5.13
#3A6CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A6CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC1#FFFFFF#000000##FFFFFF
##3A6CC11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4274C4
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6cc1;
/* rgb */ color: rgb(58, 108, 193);
/* oklch */ color: oklch(54.1% 0.144 260.3);
Tailwind
colors: {
  custom: {
    50: '#8095d4',
    500: '#3a6cc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc1;
$custom-light: #8095d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc1",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 217.778,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.14362,
    "h": 260.3
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#3A6CC1
secondary
#CBB48C
accent
#A74BDD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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