#3F5FBF#3F5FBF

#3F5FBF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.155 H 267.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3F5FBF
RGBrgb(63, 95, 191)
HSLhsl(225, 50%, 50%)
HSVhsv(225, 67%, 75%)
CMYKcmyk(67%, 50.3%, 0%, 25.1%)
CIE-LABlab(42.77, 20.12, -53.97)
CIE-LCHlch(42.77, 57.60, 290.45°)
OKLaboklab(51.39% -0.0082 -0.1548)
OKLCHoklch(51.39% 0.155 267)
XYZxyz(15.5428, 13.0013, 50.9705)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FBF #BF9F3F
analogous
#3F9FBF #3F5FBF #5F3FBF
triadic
#3F5FBF #BF3F5F #5FBF3F
tetradic
#3F5FBF #BF3F9F #BF9F3F #3FBF5F
square
#3F5FBF #BF3F9F #BF9F3F #3FBF5F
split-complementary
#3F5FBF #BF5F3F #9FBF3F
monochromatic
#213163 #304891 #3F5FBF #6D85CF #9BABDE

Accessibility & contrast

On white

5.83
#3F5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3F5FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FBF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FBF#FFFFFF#000000##FFFFFF
##3F5FBF1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5fbf;
/* rgb */ color: rgb(63, 95, 191);
/* oklch */ color: oklch(51.4% 0.155 267.0);
Tailwind
colors: {
  custom: {
    50: '#828bd3',
    500: '#3f5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fbf;
$custom-light: #828bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fbf",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 225,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.15505,
    "h": 267
  },
  "luminance": 0.13003
}

Semantic roles & 50–950 ramp

primary
#3F5FBF
secondary
#CABB90
accent
#B74EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3F5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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