#3F5EBF#3F5EBF

#3F5EBF is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.156 H 267.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3F5EBF
RGBrgb(63, 94, 191)
HSLhsl(225, 50%, 50%)
HSVhsv(225, 67%, 75%)
CMYKcmyk(67%, 50.8%, 0%, 25.1%)
CIE-LABlab(42.49, 20.77, -54.41)
CIE-LCHlch(42.49, 58.24, 290.89°)
OKLaboklab(51.18% -0.0073 -0.1561)
OKLCHoklch(51.18% 0.156 267.3)
XYZxyz(15.4533, 12.8223, 50.9407)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EBF #BFA03F
analogous
#3F9EBF #3F5EBF #603FBF
triadic
#3F5EBF #BF3F5E #5EBF3F
tetradic
#3F5EBF #BF3F9E #BFA03F #3FBF60
square
#3F5EBF #BF3F9E #BFA03F #3FBF60
split-complementary
#3F5EBF #BF603F #9EBF3F
monochromatic
#213163 #304791 #3F5EBF #6D84CF #9BABDE

Accessibility & contrast

On white

5.89
#3F5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F5EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EBF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EBF#FFFFFF#000000##FFFFFF
##3F5EBF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5ebf;
/* rgb */ color: rgb(63, 94, 191);
/* oklch */ color: oklch(51.2% 0.156 267.3);
Tailwind
colors: {
  custom: {
    50: '#828bd3',
    500: '#3f5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ebf;
$custom-light: #828bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ebf",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 225.469,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.1563,
    "h": 267.3
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#3F5EBF
secondary
#CABC90
accent
#B84EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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