#3A7CE6#3A7CE6

#3A7CE6 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.174 H 259.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3A7CE6
RGBrgb(58, 124, 230)
HSLhsl(217, 77%, 56%)
HSVhsv(217, 75%, 90%)
CMYKcmyk(74.8%, 46.1%, 0%, 9.8%)
CIE-LABlab(52.98, 15.30, -59.78)
CIE-LCHlch(52.98, 61.71, 284.35°)
OKLaboklab(59.94% -0.0316 -0.1715)
OKLCHoklch(59.94% 0.174 259.6)
XYZxyz(23.2303, 21.0254, 77.6816)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CE6 #E6A43A
analogous
#3AD2E6 #3A7CE6 #4E3AE6
triadic
#3A7CE6 #E63A7C #7CE63A
tetradic
#3A7CE6 #E63AD2 #E6A43A #3AE64E
square
#3A7CE6 #E63AD2 #E6A43A #3AE64E
split-complementary
#3A7CE6 #E64E3A #D2E63A
monochromatic
#134493 #1A5DC9 #3A7CE6 #70A0ED #A7C4F4

Accessibility & contrast

On white

4.03
#3A7CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#3A7CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CE6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CE6#FFFFFF#000000##000000
##3A7CE61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EA
Deuteranopia (green-blind)
#1777E4
Tritanopia (blue-blind)
#0095A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a7ce6;
/* rgb */ color: rgb(58, 124, 230);
/* oklch */ color: oklch(59.9% 0.174 259.6);
Tailwind
colors: {
  custom: {
    50: '#87a1ee',
    500: '#3a7ce6',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ce6;
$custom-light: #87a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ce6",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 216.977,
    "s": 77.477,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.17442,
    "h": 259.6
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#3A7CE6
secondary
#E1C69B
accent
#AA34F4
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3A7CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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