#3F6EBA#3F6EBA

#3F6EBA is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.3% C 0.130 H 259.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3F6EBA
RGBrgb(63, 110, 186)
HSLhsl(217, 49%, 49%)
HSVhsv(217, 66%, 73%)
CMYKcmyk(66.1%, 40.9%, 0%, 27.1%)
CIE-LABlab(46.65, 8.81, -44.85)
CIE-LCHlch(46.65, 45.71, 281.11°)
OKLaboklab(54.27% -0.0235 -0.1278)
OKLCHoklch(54.27% 0.13 259.6)
XYZxyz(16.4856, 15.7522, 48.6165)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6EBA #BA8B3F
analogous
#3FACBA #3F6EBA #4E3FBA
triadic
#3F6EBA #BA3F6E #6EBA3F
tetradic
#3F6EBA #BA3FAC #BA8B3F #3FBA4E
square
#3F6EBA #BA3FAC #BA8B3F #3FBA4E
split-complementary
#3F6EBA #BA4E3F #ACBA3F
monochromatic
#20385F #30538C #3F6EBA #6A8FCC #97B2DC

Accessibility & contrast

On white

5.06
#3F6EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3F6EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6EBA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6EBA#FFFFFF#000000##FFFFFF
##3F6EBA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3f6eba;
/* rgb */ color: rgb(63, 110, 186);
/* oklch */ color: oklch(54.3% 0.130 259.6);
Tailwind
colors: {
  custom: {
    50: '#8197cf',
    500: '#3f6eba',
    950: '#000000',
  },
}
SCSS
$custom: #3f6eba;
$custom-light: #8197cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6eba",
  "rgb": {
    "r": 63,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 217.073,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.12994,
    "h": 259.6
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#3F6EBA
secondary
#C8B18D
accent
#A44FD9
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3F6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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