#3A7CD9#3A7CD9

#3A7CD9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.157 H 257.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A7CD9
RGBrgb(58, 124, 217)
HSLhsl(215, 68%, 54%)
HSVhsv(215, 73%, 85%)
CMYKcmyk(73.3%, 42.9%, 0%, 14.9%)
CIE-LABlab(52.20, 10.56, -53.72)
CIE-LCHlch(52.20, 54.75, 281.12°)
OKLaboklab(59.09% -0.0339 -0.1537)
OKLCHoklch(59.09% 0.157 257.5)
XYZxyz(21.4724, 20.3222, 68.4231)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CD9 #D9973A
analogous
#3ACCD9 #3A7CD9 #483AD9
triadic
#3A7CD9 #D93A7C #7CD93A
tetradic
#3A7CD9 #D93ACC #D9973A #3AD948
square
#3A7CD9 #D93ACC #D9973A #3AD948
split-complementary
#3A7CD9 #D9483A #CCD93A
monochromatic
#194480 #235FB3 #3A7CD9 #6D9EE3 #A1C0ED

Accessibility & contrast

On white

4.15
#3A7CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3A7CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CD9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CD9#FFFFFF#000000##000000
##3A7CD91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DD
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7cd9;
/* rgb */ color: rgb(58, 124, 217);
/* oklch */ color: oklch(59.1% 0.157 257.5);
Tailwind
colors: {
  custom: {
    50: '#84a1e5',
    500: '#3a7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7cd9;
$custom-light: #84a1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7cd9",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 215.094,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.1574,
    "h": 257.5
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#3A7CD9
secondary
#D9BD95
accent
#A33DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3A7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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