#3A7CE5#3A7CE5

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

Color values

HEX#3A7CE5
RGBrgb(58, 124, 229)
HSLhsl(217, 77%, 56%)
HSVhsv(217, 75%, 90%)
CMYKcmyk(74.7%, 45.9%, 0%, 10.2%)
CIE-LABlab(52.92, 14.93, -59.32)
CIE-LCHlch(52.92, 61.17, 284.13°)
OKLaboklab(59.88% -0.0318 -0.1702)
OKLCHoklch(59.88% 0.173 259.4)
XYZxyz(23.0903, 20.9694, 76.9441)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CE5 #E5A33A
analogous
#3AD2E5 #3A7CE5 #4E3AE5
triadic
#3A7CE5 #E53A7C #7CE53A
tetradic
#3A7CE5 #E53AD2 #E5A33A #3AE54E
square
#3A7CE5 #E53AD2 #E5A33A #3AE54E
split-complementary
#3A7CE5 #E54E3A #D2E53A
monochromatic
#134491 #1A5DC7 #3A7CE5 #70A0EC #A6C4F3

Accessibility & contrast

On white

4.04
#3A7CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#3A7CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CE5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CE5#FFFFFF#000000##000000
##3A7CE51.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4487E9
Deuteranopia (green-blind)
#1A77E3
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a7ce5;
/* rgb */ color: rgb(58, 124, 229);
/* oklch */ color: oklch(59.9% 0.173 259.4);
Tailwind
colors: {
  custom: {
    50: '#87a1ee',
    500: '#3a7ce5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ce5;
$custom-light: #87a1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ce5",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 229
  },
  "hsl": {
    "h": 216.842,
    "s": 76.682,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.17312,
    "h": 259.4
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#3A7CE5
secondary
#E1C59A
accent
#AA35F3
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3A7CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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