#3E7CD7#3E7CD7

#3E7CD7 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.153 H 258.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3E7CD7
RGBrgb(62, 124, 215)
HSLhsl(216, 66%, 54%)
HSVhsv(216, 71%, 84%)
CMYKcmyk(71.2%, 42.3%, 0%, 15.7%)
CIE-LABlab(52.22, 10.38, -52.55)
CIE-LCHlch(52.22, 53.56, 281.17°)
OKLaboklab(59.11% -0.0316 -0.1502)
OKLCHoklch(59.11% 0.153 258.1)
XYZxyz(21.4555, 20.3434, 67.0727)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7CD7 #D7993E
analogous
#3EC9D7 #3E7CD7 #4D3ED7
triadic
#3E7CD7 #D73E7C #7CD73E
tetradic
#3E7CD7 #D73EC9 #D7993E #3ED74D
square
#3E7CD7 #D73EC9 #D7993E #3ED74D
split-complementary
#3E7CD7 #D74D3E #C9D73E
monochromatic
#1B4480 #255EB3 #3E7CD7 #719EE2 #A3C1EC

Accessibility & contrast

On white

4.14
#3E7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#3E7CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E7CD7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7CD7#FFFFFF#000000##000000
##3E7CD71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DB
Deuteranopia (green-blind)
#3676D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3e7cd7;
/* rgb */ color: rgb(62, 124, 215);
/* oklch */ color: oklch(59.1% 0.153 258.1);
Tailwind
colors: {
  custom: {
    50: '#85a1e4',
    500: '#3e7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #3e7cd7;
$custom-light: #85a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7cd7",
  "rgb": {
    "r": 62,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 215.686,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59111,
    "c": 0.15348,
    "h": 258.1
  },
  "luminance": 0.20346
}

Semantic roles & 50–950 ramp

primary
#3E7CD7
secondary
#D9BF98
accent
#A43FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #3E7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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