#3F5FBE#3F5FBE

#3F5FBE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.3% C 0.154 H 266.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#3F5FBE
RGBrgb(63, 95, 190)
HSLhsl(225, 50%, 50%)
HSVhsv(225, 67%, 75%)
CMYKcmyk(66.8%, 50%, 0%, 25.5%)
CIE-LABlab(42.70, 19.77, -53.50)
CIE-LCHlch(42.70, 57.03, 290.28°)
OKLaboklab(51.32% -0.0083 -0.1534)
OKLCHoklch(51.32% 0.154 266.9)
XYZxyz(15.4332, 12.9574, 50.3929)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FBE #BE9E3F
analogous
#3F9FBE #3F5FBE #5F3FBE
triadic
#3F5FBE #BE3F5F #5FBE3F
tetradic
#3F5FBE #BE3F9F #BE9E3F #3FBE5F
square
#3F5FBE #BE3F9F #BE9E3F #3FBE5F
split-complementary
#3F5FBE #BE5F3F #9FBE3F
monochromatic
#213162 #304890 #3F5FBE #6C85CE #9AABDD

Accessibility & contrast

On white

5.85
#3F5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3F5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FBE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FBE#FFFFFF#000000##FFFFFF
##3F5FBE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5fbe;
/* rgb */ color: rgb(63, 95, 190);
/* oklch */ color: oklch(51.3% 0.154 266.9);
Tailwind
colors: {
  custom: {
    50: '#828bd2',
    500: '#3f5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fbe;
$custom-light: #828bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fbe",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 224.882,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.15365,
    "h": 266.9
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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