#3A7EDE#3A7EDE

#3A7EDE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.8% C 0.162 H 257.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A7EDE
RGBrgb(58, 126, 222)
HSLhsl(215, 71%, 55%)
HSVhsv(215, 74%, 87%)
CMYKcmyk(73.9%, 43.2%, 0%, 12.9%)
CIE-LABlab(53.05, 11.15, -55.18)
CIE-LCHlch(53.05, 56.29, 281.42°)
OKLaboklab(59.84% -0.0347 -0.1579)
OKLCHoklch(59.84% 0.162 257.6)
XYZxyz(22.3858, 21.0927, 71.9846)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EDE #DE9A3A
analogous
#3AD0DE #3A7EDE #483ADE
triadic
#3A7EDE #DE3A7E #7EDE3A
tetradic
#3A7EDE #DE3AD0 #DE9A3A #3ADE48
square
#3A7EDE #DE3AD0 #DE9A3A #3ADE48
split-complementary
#3A7EDE #DE483A #D0DE3A
monochromatic
#174587 #1F60BB #3A7EDE #6EA0E7 #A3C3F0

Accessibility & contrast

On white

4.02
#3A7EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3A7EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EDE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EDE#FFFFFF#000000##000000
##3A7EDE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E2
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a7ede;
/* rgb */ color: rgb(58, 126, 222);
/* oklch */ color: oklch(59.8% 0.162 257.6);
Tailwind
colors: {
  custom: {
    50: '#85a2e9',
    500: '#3a7ede',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ede;
$custom-light: #85a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ede",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 222
  },
  "hsl": {
    "h": 215.122,
    "s": 71.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59844,
    "c": 0.16171,
    "h": 257.6
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#3A7EDE
secondary
#DCC097
accent
#A33AEE
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0F16
muted
#7D7E84

Preview Lab

Preview with #3A7EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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