#3A6FC4#3A6FC4

#3A6FC4 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 54.9% C 0.144 H 259.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A6FC4
RGBrgb(58, 111, 196)
HSLhsl(217, 54%, 50%)
HSVhsv(217, 70%, 77%)
CMYKcmyk(70.4%, 43.4%, 0%, 23.1%)
CIE-LABlab(47.30, 10.99, -49.59)
CIE-LCHlch(47.30, 50.79, 282.49°)
OKLaboklab(54.91% -0.0264 -0.1418)
OKLCHoklch(54.91% 0.144 259.5)
XYZxyz(17.3896, 16.2521, 54.4344)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FC4 #C48F3A
analogous
#3AB4C4 #3A6FC4 #4A3AC4
triadic
#3A6FC4 #C43A6F #6FC43A
tetradic
#3A6FC4 #C43AB4 #C48F3A #3AC44A
square
#3A6FC4 #C43AB4 #C48F3A #3AC44A
split-complementary
#3A6FC4 #C44A3A #B4C43A
monochromatic
#1E3A66 #2C5495 #3A6FC4 #6991D3 #98B4E0

Accessibility & contrast

On white

4.94
#3A6FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#3A6FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FC4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FC4#FFFFFF#000000##FFFFFF
##3A6FC41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4677C7
Deuteranopia (green-blind)
#2D6AC2
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6fc4;
/* rgb */ color: rgb(58, 111, 196);
/* oklch */ color: oklch(54.9% 0.144 259.5);
Tailwind
colors: {
  custom: {
    50: '#8097d6',
    500: '#3a6fc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fc4;
$custom-light: #8097d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fc4",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 196
  },
  "hsl": {
    "h": 216.957,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.1442,
    "h": 259.5
  },
  "luminance": 0.16254
}

Semantic roles & 50–950 ramp

primary
#3A6FC4
secondary
#CCB48E
accent
#A54ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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