#3A6AC8#3A6AC8

#3A6AC8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.1% C 0.156 H 262.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3A6AC8
RGBrgb(58, 106, 200)
HSLhsl(220, 56%, 51%)
HSVhsv(220, 71%, 78%)
CMYKcmyk(71%, 47%, 0%, 21.6%)
CIE-LABlab(46.14, 15.61, -53.75)
CIE-LCHlch(46.14, 55.97, 286.19°)
OKLaboklab(54.09% -0.0212 -0.1541)
OKLCHoklch(54.09% 0.156 262.2)
XYZxyz(17.3206, 15.3759, 56.6874)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6AC8 #C8983A
analogous
#3AB1C8 #3A6AC8 #513AC8
triadic
#3A6AC8 #C83A6A #6AC83A
tetradic
#3A6AC8 #C83AB1 #C8983A #3AC851
square
#3A6AC8 #C83AB1 #C8983A #3AC851
split-complementary
#3A6AC8 #C8513A #B1C83A
monochromatic
#1E376A #2B509A #3A6AC8 #6A8ED5 #9AB2E3

Accessibility & contrast

On white

5.15
#3A6AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#3A6AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6AC8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6AC8#FFFFFF#000000##FFFFFF
##3A6AC81.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#1667C6
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a6ac8;
/* rgb */ color: rgb(58, 106, 200);
/* oklch */ color: oklch(54.1% 0.156 262.2);
Tailwind
colors: {
  custom: {
    50: '#8194d9',
    500: '#3a6ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ac8;
$custom-light: #8194d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ac8",
  "rgb": {
    "r": 58,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 219.718,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.15553,
    "h": 262.2
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#3A6AC8
secondary
#CEB98F
accent
#AC48E0
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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