#3A6DC1#3A6DC1

#3A6DC1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.142 H 259.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A6DC1
RGBrgb(58, 109, 193)
HSLhsl(217, 54%, 49%)
HSVhsv(217, 70%, 76%)
CMYKcmyk(69.9%, 43.5%, 0%, 24.3%)
CIE-LABlab(46.56, 11.15, -49.05)
CIE-LCHlch(46.56, 50.30, 282.81°)
OKLaboklab(54.27% -0.0251 -0.1402)
OKLCHoklch(54.27% 0.142 259.9)
XYZxyz(16.8357, 15.6853, 52.5820)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6DC1 #C18E3A
analogous
#3AB1C1 #3A6DC1 #4A3AC1
triadic
#3A6DC1 #C13A6D #6DC13A
tetradic
#3A6DC1 #C13AB1 #C18E3A #3AC14A
square
#3A6DC1 #C13AB1 #C18E3A #3AC14A
split-complementary
#3A6DC1 #C14A3A #B1C13A
monochromatic
#1E3863 #2C5292 #3A6DC1 #678FD1 #96B2DF

Accessibility & contrast

On white

5.08
#3A6DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3A6DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6DC1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6DC1#FFFFFF#000000##FFFFFF
##3A6DC11.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4475C4
Deuteranopia (green-blind)
#2C69BF
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6dc1;
/* rgb */ color: rgb(58, 109, 193);
/* oklch */ color: oklch(54.3% 0.142 259.9);
Tailwind
colors: {
  custom: {
    50: '#8096d4',
    500: '#3a6dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a6dc1;
$custom-light: #8096d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6dc1",
  "rgb": {
    "r": 58,
    "g": 109,
    "b": 193
  },
  "hsl": {
    "h": 217.333,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.14246,
    "h": 259.9
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#3A6DC1
secondary
#CBB38C
accent
#A64BDD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3A6DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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