#3A7AD4#3A7AD4

#3A7AD4 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.3% C 0.153 H 257.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A7AD4
RGBrgb(58, 122, 212)
HSLhsl(215, 64%, 53%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(72.6%, 42.5%, 0%, 16.9%)
CIE-LABlab(51.35, 9.97, -52.26)
CIE-LCHlch(51.35, 53.20, 280.80°)
OKLaboklab(58.34% -0.0332 -0.1494)
OKLCHoklch(58.34% 0.153 257.5)
XYZxyz(20.5838, 19.5698, 64.9671)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AD4 #D4943A
analogous
#3AC7D4 #3A7AD4 #473AD4
triadic
#3A7AD4 #D43A7A #7AD43A
tetradic
#3A7AD4 #D43AC7 #D4943A #3AD447
square
#3A7AD4 #D43AC7 #D4943A #3AD447
split-complementary
#3A7AD4 #D4473A #C7D43A
monochromatic
#1A4279 #255DAB #3A7AD4 #6C9CDF #9EBEEA

Accessibility & contrast

On white

4.27
#3A7AD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3A7AD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AD4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AD4#FFFFFF#000000##000000
##3A7AD41.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D7
Deuteranopia (green-blind)
#3374D2
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7ad4;
/* rgb */ color: rgb(58, 122, 212);
/* oklch */ color: oklch(58.3% 0.153 257.5);
Tailwind
colors: {
  custom: {
    50: '#839fe2',
    500: '#3a7ad4',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ad4;
$custom-light: #839fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ad4",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 212
  },
  "hsl": {
    "h": 215.065,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.15307,
    "h": 257.5
  },
  "luminance": 0.19572
}

Semantic roles & 50–950 ramp

primary
#3A7AD4
secondary
#D6BB94
accent
#A241E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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