#3A7DE5#3A7DE5

#3A7DE5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.1% C 0.172 H 259.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3A7DE5
RGBrgb(58, 125, 229)
HSLhsl(216, 77%, 56%)
HSVhsv(216, 75%, 90%)
CMYKcmyk(74.7%, 45.4%, 0%, 10.2%)
CIE-LABlab(53.19, 14.31, -58.88)
CIE-LCHlch(53.19, 60.60, 283.66°)
OKLaboklab(60.09% -0.0326 -0.1688)
OKLCHoklch(60.09% 0.172 259.1)
XYZxyz(23.2162, 21.2213, 76.9861)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DE5 #E5A23A
analogous
#3AD3E5 #3A7DE5 #4D3AE5
triadic
#3A7DE5 #E53A7D #7DE53A
tetradic
#3A7DE5 #E53AD3 #E5A23A #3AE54D
square
#3A7DE5 #E53AD3 #E5A23A #3AE54D
split-complementary
#3A7DE5 #E54D3A #D3E53A
monochromatic
#134591 #1A5EC7 #3A7DE5 #70A1EC #A6C4F3

Accessibility & contrast

On white

4.00
#3A7DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#3A7DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DE5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DE5#FFFFFF#000000##000000
##3A7DE51.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E9
Deuteranopia (green-blind)
#1F78E3
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a7de5;
/* rgb */ color: rgb(58, 125, 229);
/* oklch */ color: oklch(60.1% 0.172 259.1);
Tailwind
colors: {
  custom: {
    50: '#86a2ee',
    500: '#3a7de5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7de5;
$custom-light: #86a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7de5",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 229
  },
  "hsl": {
    "h": 216.491,
    "s": 76.682,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60087,
    "c": 0.17197,
    "h": 259.1
  },
  "luminance": 0.21224
}

Semantic roles & 50–950 ramp

primary
#3A7DE5
secondary
#E1C59A
accent
#A935F3
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3A7DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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