#3F5BBE#3F5BBE

#3F5BBE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.159 H 268.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3F5BBE
RGBrgb(63, 91, 190)
HSLhsl(227, 50%, 50%)
HSVhsv(227, 67%, 75%)
CMYKcmyk(66.8%, 52.1%, 0%, 25.5%)
CIE-LABlab(41.62, 22.34, -55.24)
CIE-LCHlch(41.62, 59.59, 292.02°)
OKLaboklab(50.5% -0.0046 -0.1586)
OKLCHoklch(50.5% 0.159 268.3)
XYZxyz(15.0821, 12.2552, 50.2759)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BBE #BEA23F
analogous
#3F9ABE #3F5BBE #633FBE
triadic
#3F5BBE #BE3F5B #5BBE3F
tetradic
#3F5BBE #BE3F9A #BEA23F #3FBE63
square
#3F5BBE #BE3F9A #BEA23F #3FBE63
split-complementary
#3F5BBE #BE633F #9ABE3F
monochromatic
#212F62 #304590 #3F5BBE #6C82CE #9AA9DD

Accessibility & contrast

On white

6.08
#3F5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3F5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BBE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BBE#FFFFFF#000000##FFFFFF
##3F5BBE1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5bbe;
/* rgb */ color: rgb(63, 91, 190);
/* oklch */ color: oklch(50.5% 0.159 268.3);
Tailwind
colors: {
  custom: {
    50: '#8289d2',
    500: '#3f5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bbe;
$custom-light: #8289d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bbe",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 226.772,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.15869,
    "h": 268.3
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#3F5BBE
secondary
#C9BD8F
accent
#BB4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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