#3A6FC6#3A6FC6

#3A6FC6 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.147 H 259.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#3A6FC6
RGBrgb(58, 111, 198)
HSLhsl(217, 55%, 50%)
HSVhsv(217, 71%, 78%)
CMYKcmyk(70.7%, 43.9%, 0%, 22.4%)
CIE-LABlab(47.42, 11.72, -50.55)
CIE-LCHlch(47.42, 51.89, 283.05°)
OKLaboklab(55.04% -0.026 -0.1446)
OKLCHoklch(55.04% 0.147 259.8)
XYZxyz(17.6187, 16.3438, 55.6413)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FC6 #C6913A
analogous
#3AB5C6 #3A6FC6 #4B3AC6
triadic
#3A6FC6 #C63A6F #6FC63A
tetradic
#3A6FC6 #C63AB5 #C6913A #3AC64B
square
#3A6FC6 #C63AB5 #C6913A #3AC64B
split-complementary
#3A6FC6 #C64B3A #B5C63A
monochromatic
#1E3A68 #2C5497 #3A6FC6 #6992D4 #99B4E1

Accessibility & contrast

On white

4.92
#3A6FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3A6FC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FC6
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FC6#FFFFFF#000000##FFFFFF
##3A6FC61.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4477C9
Deuteranopia (green-blind)
#2A6AC4
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6fc6;
/* rgb */ color: rgb(58, 111, 198);
/* oklch */ color: oklch(55.0% 0.147 259.8);
Tailwind
colors: {
  custom: {
    50: '#8197d8',
    500: '#3a6fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fc6;
$custom-light: #8197d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fc6",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 198
  },
  "hsl": {
    "h": 217.286,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.14691,
    "h": 259.8
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#3A6FC6
secondary
#CDB58F
accent
#A649DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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