#3F5FBD#3F5FBD

#3F5FBD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.152 H 266.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3F5FBD
RGBrgb(63, 95, 189)
HSLhsl(225, 50%, 49%)
HSVhsv(225, 67%, 74%)
CMYKcmyk(66.7%, 49.7%, 0%, 25.9%)
CIE-LABlab(42.63, 19.41, -53.02)
CIE-LCHlch(42.63, 56.46, 290.10°)
OKLaboklab(51.24% -0.0084 -0.152)
OKLCHoklch(51.24% 0.152 266.8)
XYZxyz(15.3242, 12.9138, 49.8193)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FBD #BD9D3F
analogous
#3F9EBD #3F5FBD #5E3FBD
triadic
#3F5FBD #BD3F5F #5FBD3F
tetradic
#3F5FBD #BD3F9E #BD9D3F #3FBD5E
square
#3F5FBD #BD3F9E #BD9D3F #3FBD5E
split-complementary
#3F5FBD #BD5E3F #9EBD3F
monochromatic
#203161 #30488F #3F5FBD #6B84CE #99ABDD

Accessibility & contrast

On white

5.86
#3F5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FBD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FBD#FFFFFF#000000##FFFFFF
##3F5FBD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6BC0
Deuteranopia (green-blind)
#025FBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5fbd;
/* rgb */ color: rgb(63, 95, 189);
/* oklch */ color: oklch(51.2% 0.152 266.8);
Tailwind
colors: {
  custom: {
    50: '#828bd1',
    500: '#3f5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fbd;
$custom-light: #828bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fbd",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 224.762,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.15226,
    "h": 266.8
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#3F5FBD
secondary
#C9BA8F
accent
#B64EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #3F5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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