#3A6CCA#3A6CCA

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

Color values

HEX#3A6CCA
RGBrgb(58, 108, 202)
HSLhsl(219, 58%, 51%)
HSVhsv(219, 71%, 79%)
CMYKcmyk(71.3%, 46.5%, 0%, 20.8%)
CIE-LABlab(46.83, 15.07, -53.80)
CIE-LCHlch(46.83, 55.87, 285.65°)
OKLaboklab(54.66% -0.0226 -0.1542)
OKLCHoklch(54.66% 0.156 261.7)
XYZxyz(17.7643, 15.8870, 57.9960)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CCA #CA983A
analogous
#3AB4CA #3A6CCA #503ACA
triadic
#3A6CCA #CA3A6C #6CCA3A
tetradic
#3A6CCA #CA3AB4 #CA983A #3ACA50
square
#3A6CCA #CA3AB4 #CA983A #3ACA50
split-complementary
#3A6CCA #CA503A #B4CA3A
monochromatic
#1D396C #2A529D #3A6CCA #6A90D7 #9AB4E4

Accessibility & contrast

On white

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

On black

4.18
#3A6CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3A6CCA#FFFFFF#000000##FFFFFF
##3A6CCA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3a6cca;
/* rgb */ color: rgb(58, 108, 202);
/* oklch */ color: oklch(54.7% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#8295db',
    500: '#3a6cca',
    950: '#000000',
  },
}
SCSS
$custom: #3a6cca;
$custom-light: #8295db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6cca",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 202
  },
  "hsl": {
    "h": 219.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.15586,
    "h": 261.7
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#3A6CCA
secondary
#D0BA90
accent
#AB47E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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