#3A6EC6#3A6EC6

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

Color values

HEX#3A6EC6
RGBrgb(58, 110, 198)
HSLhsl(218, 55%, 50%)
HSVhsv(218, 71%, 78%)
CMYKcmyk(70.7%, 44.4%, 0%, 22.4%)
CIE-LABlab(47.14, 12.35, -51.00)
CIE-LCHlch(47.14, 52.47, 283.61°)
OKLaboklab(54.82% -0.0251 -0.1459)
OKLCHoklch(54.82% 0.148 260.2)
XYZxyz(17.5102, 16.1268, 55.6051)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC6 #C6923A
analogous
#3AB4C6 #3A6EC6 #4C3AC6
triadic
#3A6EC6 #C63A6E #6EC63A
tetradic
#3A6EC6 #C63AB4 #C6923A #3AC64C
square
#3A6EC6 #C63AB4 #C6923A #3AC64C
split-complementary
#3A6EC6 #C64C3A #B4C63A
monochromatic
#1E3968 #2C5497 #3A6EC6 #6991D4 #99B4E1

Accessibility & contrast

On white

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

On black

4.23
#3A6EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A6EC6#FFFFFF#000000##FFFFFF
##3A6EC61.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4277C9
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6ec6;
/* rgb */ color: rgb(58, 110, 198);
/* oklch */ color: oklch(54.8% 0.148 260.2);
Tailwind
colors: {
  custom: {
    50: '#8197d8',
    500: '#3a6ec6',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec6;
$custom-light: #8197d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec6",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 198
  },
  "hsl": {
    "h": 217.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.14808,
    "h": 260.2
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#3A6EC6
secondary
#CDB68F
accent
#A749DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3A6EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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