#3A7BE5#3A7BE5

#3A7BE5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.7% C 0.174 H 259.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3A7BE5
RGBrgb(58, 123, 229)
HSLhsl(217, 77%, 56%)
HSVhsv(217, 75%, 90%)
CMYKcmyk(74.7%, 46.3%, 0%, 10.2%)
CIE-LABlab(52.64, 15.55, -59.76)
CIE-LCHlch(52.64, 61.75, 284.59°)
OKLaboklab(59.66% -0.031 -0.1715)
OKLCHoklch(59.66% 0.174 259.8)
XYZxyz(22.9656, 20.7200, 76.9025)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BE5 #E5A43A
analogous
#3AD1E5 #3A7BE5 #4F3AE5
triadic
#3A7BE5 #E53A7B #7BE53A
tetradic
#3A7BE5 #E53AD1 #E5A43A #3AE54F
square
#3A7BE5 #E53AD1 #E5A43A #3AE54F
split-complementary
#3A7BE5 #E54F3A #D1E53A
monochromatic
#134391 #1A5CC7 #3A7BE5 #709FEC #A6C3F3

Accessibility & contrast

On white

4.08
#3A7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#3A7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BE5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BE5#FFFFFF#000000##000000
##3A7BE51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E9
Deuteranopia (green-blind)
#1576E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a7be5;
/* rgb */ color: rgb(58, 123, 229);
/* oklch */ color: oklch(59.7% 0.174 259.8);
Tailwind
colors: {
  custom: {
    50: '#87a0ee',
    500: '#3a7be5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7be5;
$custom-light: #87a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7be5",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 217.193,
    "s": 76.682,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.17427,
    "h": 259.8
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#3A7BE5
secondary
#E1C69A
accent
#AB35F3
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3A7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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