#3F5BB0#3F5BB0

#3F5BB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.139 H 267.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#3F5BB0
RGBrgb(63, 91, 176)
HSLhsl(225, 47%, 47%)
HSVhsv(225, 64%, 69%)
CMYKcmyk(64.2%, 48.3%, 0%, 31%)
CIE-LABlab(40.69, 17.32, -48.54)
CIE-LCHlch(40.69, 51.54, 289.64°)
OKLaboklab(49.49% -0.0062 -0.1389)
OKLCHoklch(49.49% 0.139 267.4)
XYZxyz(13.6248, 11.6723, 42.6008)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BB0 #B0943F
analogous
#3F94B0 #3F5BB0 #5C3FB0
triadic
#3F5BB0 #B03F5B #5BB03F
tetradic
#3F5BB0 #B03F94 #B0943F #3FB05C
square
#3F5BB0 #B03F94 #B0943F #3FB05C
split-complementary
#3F5BB0 #B05C3F #94B03F
monochromatic
#1F2C56 #2F4483 #3F5BB0 #657DC8 #92A3D8

Accessibility & contrast

On white

6.30
#3F5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#3F5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BB0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BB0#FFFFFF#000000##FFFFFF
##3F5BB01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B3
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5bb0;
/* rgb */ color: rgb(63, 91, 176);
/* oklch */ color: oklch(49.5% 0.139 267.4);
Tailwind
colors: {
  custom: {
    50: '#7f89c8',
    500: '#3f5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bb0;
$custom-light: #7f89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bb0",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 225.133,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.13904,
    "h": 267.4
  },
  "luminance": 0.11674
}

Semantic roles & 50–950 ramp

primary
#3F5BB0
secondary
#C3B488
accent
#B651D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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