#3A6FC1#3A6FC1

#3A6FC1 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 54.7% C 0.140 H 258.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A6FC1
RGBrgb(58, 111, 193)
HSLhsl(216, 54%, 49%)
HSVhsv(216, 70%, 76%)
CMYKcmyk(69.9%, 42.5%, 0%, 24.3%)
CIE-LABlab(47.13, 9.90, -48.14)
CIE-LCHlch(47.13, 49.15, 281.62°)
OKLaboklab(54.71% -0.027 -0.1375)
OKLCHoklch(54.71% 0.14 258.9)
XYZxyz(17.0515, 16.1169, 52.6540)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FC1 #C18C3A
analogous
#3AB3C1 #3A6FC1 #483AC1
triadic
#3A6FC1 #C13A6F #6FC13A
tetradic
#3A6FC1 #C13AB3 #C18C3A #3AC148
square
#3A6FC1 #C13AB3 #C18C3A #3AC148
split-complementary
#3A6FC1 #C1483A #B3C13A
monochromatic
#1E3963 #2C5492 #3A6FC1 #6791D1 #96B3DF

Accessibility & contrast

On white

4.97
#3A6FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3A6FC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FC1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FC1#FFFFFF#000000##FFFFFF
##3A6FC11.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4876C4
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6fc1;
/* rgb */ color: rgb(58, 111, 193);
/* oklch */ color: oklch(54.7% 0.140 258.9);
Tailwind
colors: {
  custom: {
    50: '#8097d4',
    500: '#3a6fc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fc1;
$custom-light: #8097d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fc1",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 193
  },
  "hsl": {
    "h": 216.444,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54712,
    "c": 0.14014,
    "h": 258.9
  },
  "luminance": 0.16119
}

Semantic roles & 50–950 ramp

primary
#3A6FC1
secondary
#CBB28C
accent
#A44BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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