#3F5FBB#3F5FBB

#3F5FBB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.149 H 266.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3F5FBB
RGBrgb(63, 95, 187)
HSLhsl(225, 50%, 49%)
HSVhsv(225, 66%, 73%)
CMYKcmyk(66.3%, 49.2%, 0%, 26.7%)
CIE-LABlab(42.50, 18.69, -52.07)
CIE-LCHlch(42.50, 55.32, 289.74°)
OKLaboklab(51.1% -0.0087 -0.1492)
OKLCHoklch(51.1% 0.149 266.7)
XYZxyz(15.1086, 12.8276, 48.6838)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FBB #BB9B3F
analogous
#3F9DBB #3F5FBB #5D3FBB
triadic
#3F5FBB #BB3F5F #5FBB3F
tetradic
#3F5FBB #BB3F9D #BB9B3F #3FBB5D
square
#3F5FBB #BB3F9D #BB9B3F #3FBB5D
split-complementary
#3F5FBB #BB5D3F #9DBB3F
monochromatic
#20305F #30488D #3F5FBB #6A84CD #98AADC

Accessibility & contrast

On white

5.89
#3F5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3F5FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FBB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FBB#FFFFFF#000000##FFFFFF
##3F5FBB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#0B5FB9
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5fbb;
/* rgb */ color: rgb(63, 95, 187);
/* oklch */ color: oklch(51.1% 0.149 266.7);
Tailwind
colors: {
  custom: {
    50: '#818bd0',
    500: '#3f5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fbb;
$custom-light: #818bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fbb",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 224.516,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.14948,
    "h": 266.7
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#3F5FBB
secondary
#C8B98E
accent
#B54FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3F5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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