#3F7BE2#3F7BE2

#3F7BE2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.6% C 0.169 H 260.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3F7BE2
RGBrgb(63, 123, 226)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 72%, 89%)
CMYKcmyk(72.1%, 45.6%, 0%, 11.4%)
CIE-LABlab(52.63, 15.10, -58.09)
CIE-LCHlch(52.63, 60.02, 284.57°)
OKLaboklab(59.65% -0.028 -0.1665)
OKLCHoklch(59.65% 0.169 260.4)
XYZxyz(22.8554, 20.7112, 74.7299)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BE2 #E2A63F
analogous
#3FCDE2 #3F7BE2 #553FE2
triadic
#3F7BE2 #E23F7B #7BE23F
tetradic
#3F7BE2 #E23FCD #E2A63F #3FE255
square
#3F7BE2 #E23FCD #E2A63F #3FE255
split-complementary
#3F7BE2 #E2553F #CDE23F
monochromatic
#164391 #1E5CC6 #3F7BE2 #74A0EA #A9C4F2

Accessibility & contrast

On white

4.08
#3F7BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#3F7BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BE2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BE2#FFFFFF#000000##000000
##3F7BE21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4586E6
Deuteranopia (green-blind)
#2177E0
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3f7be2;
/* rgb */ color: rgb(63, 123, 226);
/* oklch */ color: oklch(59.6% 0.169 260.4);
Tailwind
colors: {
  custom: {
    50: '#88a0ec',
    500: '#3f7be2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7be2;
$custom-light: #88a0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7be2",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 217.914,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.16882,
    "h": 260.4
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#3F7BE2
secondary
#E0C79D
accent
#AC37F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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