#3F7FE3#3F7FE3

#3F7FE3 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.6% C 0.166 H 259.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3F7FE3
RGBrgb(63, 127, 227)
HSLhsl(217, 75%, 57%)
HSVhsv(217, 72%, 89%)
CMYKcmyk(72.2%, 44.1%, 0%, 11%)
CIE-LABlab(53.79, 12.99, -56.79)
CIE-LCHlch(53.79, 58.25, 282.88°)
OKLaboklab(60.56% -0.0313 -0.1626)
OKLCHoklch(60.56% 0.166 259.1)
XYZxyz(23.4994, 21.7790, 75.6234)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7FE3 #E3A33F
analogous
#3FD1E3 #3F7FE3 #513FE3
triadic
#3F7FE3 #E33F7F #7FE33F
tetradic
#3F7FE3 #E33FD1 #E3A33F #3FE351
square
#3F7FE3 #E33FD1 #E3A33F #3FE351
split-complementary
#3F7FE3 #E3513F #D1E33F
monochromatic
#154692 #1D60C8 #3F7FE3 #74A3EB #AAC6F3

Accessibility & contrast

On white

3.92
#3F7FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#3F7FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7FE3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7FE3#FFFFFF#000000##000000
##3F7FE31.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E7
Deuteranopia (green-blind)
#2D7AE1
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3f7fe3;
/* rgb */ color: rgb(63, 127, 227);
/* oklch */ color: oklch(60.6% 0.166 259.1);
Tailwind
colors: {
  custom: {
    50: '#88a3ec',
    500: '#3f7fe3',
    950: '#000000',
  },
}
SCSS
$custom: #3f7fe3;
$custom-light: #88a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7fe3",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 216.585,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.16558,
    "h": 259.1
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#3F7FE3
secondary
#E0C69D
accent
#A837F1
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3F7FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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