#3A7FE5#3A7FE5

#3A7FE5 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.170 H 258.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3A7FE5
RGBrgb(58, 127, 229)
HSLhsl(216, 77%, 56%)
HSVhsv(216, 75%, 90%)
CMYKcmyk(74.7%, 44.5%, 0%, 10.2%)
CIE-LABlab(53.74, 13.08, -58.00)
CIE-LCHlch(53.74, 59.45, 282.71°)
OKLaboklab(60.51% -0.0343 -0.1662)
OKLCHoklch(60.51% 0.17 258.4)
XYZxyz(23.4720, 21.7328, 77.0713)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FE5 #E5A03A
analogous
#3AD5E5 #3A7FE5 #4B3AE5
triadic
#3A7FE5 #E53A7F #7FE53A
tetradic
#3A7FE5 #E53AD5 #E5A03A #3AE54B
square
#3A7FE5 #E53AD5 #E5A03A #3AE54B
split-complementary
#3A7FE5 #E54B3A #D5E53A
monochromatic
#134691 #1A60C7 #3A7FE5 #70A2EC #A6C5F3

Accessibility & contrast

On white

3.93
#3A7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#3A7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FE5
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FE5#FFFFFF#000000##000000
##3A7FE51.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3a7fe5;
/* rgb */ color: rgb(58, 127, 229);
/* oklch */ color: oklch(60.5% 0.170 258.4);
Tailwind
colors: {
  custom: {
    50: '#86a3ee',
    500: '#3a7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fe5;
$custom-light: #86a3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fe5",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 215.789,
    "s": 76.682,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.1697,
    "h": 258.4
  },
  "luminance": 0.21735
}

Semantic roles & 50–950 ramp

primary
#3A7FE5
secondary
#E1C49A
accent
#A635F3
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3A7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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