#3A7FE1#3A7FE1

#3A7FE1 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.165 H 257.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3A7FE1
RGBrgb(58, 127, 225)
HSLhsl(215, 74%, 55%)
HSVhsv(215, 74%, 88%)
CMYKcmyk(74.2%, 43.6%, 0%, 11.8%)
CIE-LABlab(53.51, 11.62, -56.13)
CIE-LCHlch(53.51, 57.33, 281.70°)
OKLaboklab(60.25% -0.035 -0.1607)
OKLCHoklch(60.25% 0.165 257.7)
XYZxyz(22.9199, 21.5119, 74.1638)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FE1 #E19C3A
analogous
#3AD2E1 #3A7FE1 #493AE1
triadic
#3A7FE1 #E13A7F #7FE13A
tetradic
#3A7FE1 #E13AD2 #E19C3A #3AE149
square
#3A7FE1 #E13AD2 #E19C3A #3AE149
split-complementary
#3A7FE1 #E1493A #D2E13A
monochromatic
#15468B #1D61C0 #3A7FE1 #6FA2E9 #A4C4F1

Accessibility & contrast

On white

3.96
#3A7FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#3A7FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FE1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FE1#FFFFFF#000000##000000
##3A7FE11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E88E5
Deuteranopia (green-blind)
#2D79DF
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3a7fe1;
/* rgb */ color: rgb(58, 127, 225);
/* oklch */ color: oklch(60.3% 0.165 257.7);
Tailwind
colors: {
  custom: {
    50: '#86a3eb',
    500: '#3a7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fe1;
$custom-light: #86a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fe1",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 215.21,
    "s": 73.568,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60253,
    "c": 0.1645,
    "h": 257.7
  },
  "luminance": 0.21515
}

Semantic roles & 50–950 ramp

primary
#3A7FE1
secondary
#DEC199
accent
#A438F0
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3A7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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