#3A6ACA#3A6ACA

#3A6ACA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.2% C 0.158 H 262.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3A6ACA
RGBrgb(58, 106, 202)
HSLhsl(220, 58%, 51%)
HSVhsv(220, 71%, 79%)
CMYKcmyk(71.3%, 47.5%, 0%, 20.8%)
CIE-LABlab(46.27, 16.34, -54.69)
CIE-LCHlch(46.27, 57.08, 286.63°)
OKLaboklab(54.23% -0.0209 -0.1569)
OKLCHoklch(54.23% 0.158 262.4)
XYZxyz(17.5558, 15.4700, 57.9265)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6ACA #CA9A3A
analogous
#3AB2CA #3A6ACA #523ACA
triadic
#3A6ACA #CA3A6A #6ACA3A
tetradic
#3A6ACA #CA3AB2 #CA9A3A #3ACA52
square
#3A6ACA #CA3AB2 #CA9A3A #3ACA52
split-complementary
#3A6ACA #CA523A #B2CA3A
monochromatic
#1D386C #2A509D #3A6ACA #6A8ED7 #9AB3E4

Accessibility & contrast

On white

5.13
#3A6ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#3A6ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6ACA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6ACA#FFFFFF#000000##FFFFFF
##3A6ACA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#0F67C8
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6aca;
/* rgb */ color: rgb(58, 106, 202);
/* oklch */ color: oklch(54.2% 0.158 262.4);
Tailwind
colors: {
  custom: {
    50: '#8294db',
    500: '#3a6aca',
    950: '#000000',
  },
}
SCSS
$custom: #3a6aca;
$custom-light: #8294db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6aca",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 202
  },
  "hsl": {
    "h": 220,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.15825,
    "h": 262.4
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#3A6ACA
secondary
#D0BB90
accent
#AE47E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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