#3A7AD9#3A7AD9

#3A7AD9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.160 H 258.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3A7AD9
RGBrgb(58, 122, 217)
HSLhsl(216, 68%, 54%)
HSVhsv(216, 73%, 85%)
CMYKcmyk(73.3%, 43.8%, 0%, 14.9%)
CIE-LABlab(51.64, 11.79, -54.62)
CIE-LCHlch(51.64, 55.88, 282.18°)
OKLaboklab(58.66% -0.0322 -0.1564)
OKLCHoklch(58.66% 0.16 258.4)
XYZxyz(21.2243, 19.8260, 68.3404)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7AD9 #D9993A
analogous
#3ACAD9 #3A7AD9 #4A3AD9
triadic
#3A7AD9 #D93A7A #7AD93A
tetradic
#3A7AD9 #D93ACA #D9993A #3AD94A
square
#3A7AD9 #D93ACA #D9993A #3AD94A
split-complementary
#3A7AD9 #D94A3A #CAD93A
monochromatic
#194280 #235DB3 #3A7AD9 #6D9DE3 #A1BFED

Accessibility & contrast

On white

4.23
#3A7AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3A7AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7AD9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7AD9#FFFFFF#000000##000000
##3A7AD91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7ad9;
/* rgb */ color: rgb(58, 122, 217);
/* oklch */ color: oklch(58.7% 0.160 258.4);
Tailwind
colors: {
  custom: {
    50: '#849fe5',
    500: '#3a7ad9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ad9;
$custom-light: #849fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ad9",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 217
  },
  "hsl": {
    "h": 215.849,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.15965,
    "h": 258.4
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#3A7AD9
secondary
#D9BE95
accent
#A53DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3A7AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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