#3A6BC1#3A6BC1

#3A6BC1 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.145 H 260.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3A6BC1
RGBrgb(58, 107, 193)
HSLhsl(218, 54%, 49%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(69.9%, 44.6%, 0%, 24.3%)
CIE-LABlab(45.99, 12.41, -49.96)
CIE-LCHlch(45.99, 51.48, 283.95°)
OKLaboklab(53.84% -0.0232 -0.1429)
OKLCHoklch(53.84% 0.145 260.8)
XYZxyz(16.6248, 15.2635, 52.5117)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6BC1 #C1903A
analogous
#3AAFC1 #3A6BC1 #4C3AC1
triadic
#3A6BC1 #C13A6B #6BC13A
tetradic
#3A6BC1 #C13AAF #C1903A #3AC14C
square
#3A6BC1 #C13AAF #C1903A #3AC14C
split-complementary
#3A6BC1 #C14C3A #AFC13A
monochromatic
#1E3763 #2C5192 #3A6BC1 #678ED1 #96B1DF

Accessibility & contrast

On white

5.18
#3A6BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#3A6BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6BC1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6BC1#FFFFFF#000000##FFFFFF
##3A6BC11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4074C4
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#007F8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6bc1;
/* rgb */ color: rgb(58, 107, 193);
/* oklch */ color: oklch(53.8% 0.145 260.8);
Tailwind
colors: {
  custom: {
    50: '#8094d4',
    500: '#3a6bc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a6bc1;
$custom-light: #8094d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6bc1",
  "rgb": {
    "r": 58,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 218.222,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.1448,
    "h": 260.8
  },
  "luminance": 0.15265
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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