#3A6DCF#3A6DCF

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

Color values

HEX#3A6DCF
RGBrgb(58, 109, 207)
HSLhsl(219, 61%, 52%)
HSVhsv(219, 72%, 81%)
CMYKcmyk(72%, 47.3%, 0%, 18.8%)
CIE-LABlab(47.42, 16.27, -55.71)
CIE-LCHlch(47.42, 58.04, 286.28°)
OKLaboklab(55.21% -0.0227 -0.1598)
OKLCHoklch(55.21% 0.161 261.9)
XYZxyz(18.4720, 16.3398, 61.1998)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DCF #CF9C3A
analogous
#3AB8CF #3A6DCF #523ACF
triadic
#3A6DCF #CF3A6D #6DCF3A
tetradic
#3A6DCF #CF3AB8 #CF9C3A #3ACF52
square
#3A6DCF #CF3AB8 #CF9C3A #3ACF52
split-complementary
#3A6DCF #CF523A #B8CF3A
monochromatic
#1C3A73 #2852A4 #3A6DCF #6B91DB #9CB6E7

Accessibility & contrast

On white

4.92
#3A6DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#3A6DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DCF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DCF#FFFFFF#000000##FFFFFF
##3A6DCF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#0F6ACD
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3a6dcf;
/* rgb */ color: rgb(58, 109, 207);
/* oklch */ color: oklch(55.2% 0.161 261.9);
Tailwind
colors: {
  custom: {
    50: '#8396de',
    500: '#3a6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dcf;
$custom-light: #8396de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dcf",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 219.463,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.16143,
    "h": 261.9
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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