#3A7EDF#3A7EDF

#3A7EDF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.163 H 257.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3A7EDF
RGBrgb(58, 126, 223)
HSLhsl(215, 72%, 55%)
HSVhsv(215, 74%, 87%)
CMYKcmyk(74%, 43.5%, 0%, 12.5%)
CIE-LABlab(53.11, 11.51, -55.65)
CIE-LCHlch(53.11, 56.82, 281.69°)
OKLaboklab(59.91% -0.0345 -0.1593)
OKLCHoklch(59.91% 0.163 257.8)
XYZxyz(22.5202, 21.1464, 72.6925)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EDF #DF9B3A
analogous
#3AD0DF #3A7EDF #493ADF
triadic
#3A7EDF #DF3A7E #7EDF3A
tetradic
#3A7EDF #DF3AD0 #DF9B3A #3ADF49
square
#3A7EDF #DF3AD0 #DF9B3A #3ADF49
split-complementary
#3A7EDF #DF493A #D0DF3A
monochromatic
#164588 #1F60BD #3A7EDF #6FA0E8 #A3C3F0

Accessibility & contrast

On white

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

On black

5.23
#3A7EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EDF
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EDF#FFFFFF#000000##000000
##3A7EDF1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7edf;
/* rgb */ color: rgb(58, 126, 223);
/* oklch */ color: oklch(59.9% 0.163 257.8);
Tailwind
colors: {
  custom: {
    50: '#85a2e9',
    500: '#3a7edf',
    950: '#000000',
  },
}
SCSS
$custom: #3a7edf;
$custom-light: #85a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7edf",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 223
  },
  "hsl": {
    "h": 215.273,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.16302,
    "h": 257.8
  },
  "luminance": 0.21149
}

Semantic roles & 50–950 ramp

primary
#3A7EDF
secondary
#DDC098
accent
#A439EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0F16
muted
#7D7E84

Preview Lab

Preview with #3A7EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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