#3A6CCF#3A6CCF

#3A6CCF is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.0% C 0.163 H 262.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A6CCF
RGBrgb(58, 108, 207)
HSLhsl(220, 61%, 52%)
HSVhsv(220, 72%, 81%)
CMYKcmyk(72%, 47.8%, 0%, 18.8%)
CIE-LABlab(47.14, 16.90, -56.16)
CIE-LCHlch(47.14, 58.65, 286.75°)
OKLaboklab(55% -0.0219 -0.1611)
OKLCHoklch(55% 0.163 262.3)
XYZxyz(18.3660, 16.1277, 61.1644)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6CCF #CF9D3A
analogous
#3AB6CF #3A6CCF #533ACF
triadic
#3A6CCF #CF3A6C #6CCF3A
tetradic
#3A6CCF #CF3AB6 #CF9D3A #3ACF53
square
#3A6CCF #CF3AB6 #CF9D3A #3ACF53
split-complementary
#3A6CCF #CF533A #B6CF3A
monochromatic
#1C3973 #2852A4 #3A6CCF #6B91DB #9CB5E7

Accessibility & contrast

On white

4.97
#3A6CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3A6CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6CCF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6CCF#FFFFFF#000000##FFFFFF
##3A6CCF1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#0869CD
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6ccf;
/* rgb */ color: rgb(58, 108, 207);
/* oklch */ color: oklch(55.0% 0.163 262.3);
Tailwind
colors: {
  custom: {
    50: '#8395de',
    500: '#3a6ccf',
    950: '#000000',
  },
}
SCSS
$custom: #3a6ccf;
$custom-light: #8395de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6ccf",
  "rgb": {
    "r": 58,
    "g": 108,
    "b": 207
  },
  "hsl": {
    "h": 219.866,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.16262,
    "h": 262.3
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#3A6CCF
secondary
#D3BD92
accent
#AE44E4
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3A6CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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