#3A6EC0#3A6EC0

#3A6EC0 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.4% C 0.140 H 259.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A6EC0
RGBrgb(58, 110, 192)
HSLhsl(217, 54%, 49%)
HSVhsv(217, 70%, 75%)
CMYKcmyk(69.8%, 42.7%, 0%, 24.7%)
CIE-LABlab(46.78, 10.16, -48.11)
CIE-LCHlch(46.78, 49.18, 281.92°)
OKLaboklab(54.43% -0.0262 -0.1375)
OKLCHoklch(54.43% 0.14 259.2)
XYZxyz(16.8319, 15.8554, 52.0323)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6EC0 #C08C3A
analogous
#3AB1C0 #3A6EC0 #493AC0
triadic
#3A6EC0 #C03A6E #6EC03A
tetradic
#3A6EC0 #C03AB1 #C08C3A #3AC049
square
#3A6EC0 #C03AB1 #C08C3A #3AC049
split-complementary
#3A6EC0 #C0493A #B1C03A
monochromatic
#1E3862 #2C5391 #3A6EC0 #6690D1 #95B2DF

Accessibility & contrast

On white

5.03
#3A6EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3A6EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6EC0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6EC0#FFFFFF#000000##FFFFFF
##3A6EC01.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4776C3
Deuteranopia (green-blind)
#3069BE
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6ec0;
/* rgb */ color: rgb(58, 110, 192);
/* oklch */ color: oklch(54.4% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#8097d3',
    500: '#3a6ec0',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ec0;
$custom-light: #8097d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ec0",
  "rgb": {
    "r": 58,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 216.716,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54428,
    "c": 0.13994,
    "h": 259.2
  },
  "luminance": 0.15857
}

Semantic roles & 50–950 ramp

primary
#3A6EC0
secondary
#CAB28B
accent
#A44BDD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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