#3A7DFD#3A7DFD

#3A7DFD is a mid, highly saturated blue. Relative luminance 0.227; OKLCH L 61.7% C 0.203 H 261.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3A7DFD
RGBrgb(58, 125, 253)
HSLhsl(219, 98%, 61%)
HSVhsv(219, 77%, 99%)
CMYKcmyk(77.1%, 50.6%, 0%, 0.8%)
CIE-LABlab(54.72, 23.07, -69.77)
CIE-LCHlch(54.72, 73.48, 288.30°)
OKLaboklab(61.74% -0.0292 -0.2009)
OKLCHoklch(61.74% 0.203 261.7)
XYZxyz(26.8018, 22.6555, 95.8699)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DFD #FDBA3A
analogous
#3ADEFD #3A7DFD #583AFD
triadic
#3A7DFD #FD3A7D #7DFD3A
tetradic
#3A7DFD #FD3ADE #FDBA3A #3AFD58
square
#3A7DFD #FD3ADE #FDBA3A #3AFD58
split-complementary
#3A7DFD #FD583A #DEFD3A
monochromatic
#0241BB #0357F7 #3A7DFD #77A5FE #B3CDFE

Accessibility & contrast

On white

3.80
#3A7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#3A7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DFD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DFD#FFFFFF#000000##000000
##3A7DFD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#288CFF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#009CB1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3a7dfd;
/* rgb */ color: rgb(58, 125, 253);
/* oklch */ color: oklch(61.7% 0.203 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ba1ff',
    500: '#3a7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dfd;
$custom-light: #8ba1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dfd",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 219.385,
    "s": 97.99,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61743,
    "c": 0.20301,
    "h": 261.7
  },
  "luminance": 0.22659
}

Semantic roles & 50–950 ramp

primary
#3A7DFD
secondary
#EED5A5
accent
#9700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E18
muted
#7E7E86

Preview Lab

Preview with #3A7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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