#3F6ED8#3F6ED8

#3F6ED8 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.3% C 0.171 H 263.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3F6ED8
RGBrgb(63, 110, 216)
HSLhsl(222, 66%, 55%)
HSVhsv(222, 71%, 85%)
CMYKcmyk(70.8%, 49.1%, 0%, 15.3%)
CIE-LABlab(48.47, 19.60, -59.14)
CIE-LCHlch(48.47, 62.30, 288.34°)
OKLaboklab(56.25% -0.0185 -0.1698)
OKLCHoklch(56.25% 0.171 263.8)
XYZxyz(20.0161, 17.1644, 67.2106)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6ED8 #D8A93F
analogous
#3FBAD8 #3F6ED8 #5D3FD8
triadic
#3F6ED8 #D83F6E #6ED83F
tetradic
#3F6ED8 #D83FBA #D8A93F #3FD85D
square
#3F6ED8 #D83FBA #D8A93F #3FD85D
split-complementary
#3F6ED8 #D85D3F #BAD83F
monochromatic
#1A3A82 #2551B5 #3F6ED8 #7294E2 #A5BBED

Accessibility & contrast

On white

4.74
#3F6ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3F6ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6ED8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6ED8#FFFFFF#000000##FFFFFF
##3F6ED81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#317BDC
Deuteranopia (green-blind)
#006CD6
Tritanopia (blue-blind)
#008799
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3f6ed8;
/* rgb */ color: rgb(63, 110, 216);
/* oklch */ color: oklch(56.3% 0.171 263.8);
Tailwind
colors: {
  custom: {
    50: '#8697e5',
    500: '#3f6ed8',
    950: '#000000',
  },
}
SCSS
$custom: #3f6ed8;
$custom-light: #8697e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6ed8",
  "rgb": {
    "r": 63,
    "g": 110,
    "b": 216
  },
  "hsl": {
    "h": 221.569,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.1708,
    "h": 263.8
  },
  "luminance": 0.17166
}

Semantic roles & 50–950 ramp

primary
#3F6ED8
secondary
#DAC699
accent
#B53FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #3F6ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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