#3A6CC2#3A6CC2

#3A6CC2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.145 H 260.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3A6CC2
RGBrgb(58, 108, 194)
HSLhsl(218, 54%, 49%)
HSVhsv(218, 70%, 76%)
CMYKcmyk(70.1%, 44.3%, 0%, 23.9%)
CIE-LABlab(46.34, 12.15, -49.99)
CIE-LCHlch(46.34, 51.44, 283.66°)
OKLaboklab(54.12% -0.024 -0.143)
OKLCHoklch(54.12% 0.145 260.5)
XYZxyz(16.8416, 15.5179, 53.1362)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CC2 #C2903A
analogous
#3AB0C2 #3A6CC2 #4C3AC2
triadic
#3A6CC2 #C23A6C #6CC23A
tetradic
#3A6CC2 #C23AB0 #C2903A #3AC24C
square
#3A6CC2 #C23AB0 #C2903A #3AC24C
split-complementary
#3A6CC2 #C24C3A #B0C23A
monochromatic
#1E3864 #2C5293 #3A6CC2 #678FD2 #97B2E0

Accessibility & contrast

On white

5.12
#3A6CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#3A6CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CC2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CC2#FFFFFF#000000##FFFFFF
##3A6CC21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#2868C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6cc2;
/* rgb */ color: rgb(58, 108, 194);
/* oklch */ color: oklch(54.1% 0.145 260.5);
Tailwind
colors: {
  custom: {
    50: '#8095d5',
    500: '#3a6cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cc2;
$custom-light: #8095d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cc2",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 217.941,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.14499,
    "h": 260.5
  },
  "luminance": 0.1552
}

Semantic roles & 50–950 ramp

primary
#3A6CC2
secondary
#CBB48D
accent
#A74ADD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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