#3F5FB3#3F5FB3

#3F5FB3 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.5% C 0.138 H 265.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#3F5FB3
RGBrgb(63, 95, 179)
HSLhsl(223, 48%, 47%)
HSVhsv(223, 65%, 70%)
CMYKcmyk(64.8%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.99, 15.82, -48.21)
CIE-LCHlch(41.99, 50.74, 288.17°)
OKLaboklab(50.55% -0.0098 -0.1379)
OKLCHoklch(50.55% 0.138 265.9)
XYZxyz(14.2760, 12.4945, 44.2984)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FB3 #B3933F
analogous
#3F99B3 #3F5FB3 #593FB3
triadic
#3F5FB3 #B33F5F #5FB33F
tetradic
#3F5FB3 #B33F99 #B3933F #3FB359
square
#3F5FB3 #B33F99 #B3933F #3FB359
split-complementary
#3F5FB3 #B3593F #99B33F
monochromatic
#1F2F58 #2F4786 #3F5FB3 #6681C9 #93A7D9

Accessibility & contrast

On white

6.00
#3F5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3F5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FB3#FFFFFF#000000##FFFFFF
##3F5FB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3569B6
Deuteranopia (green-blind)
#1F5EB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3f5fb3;
/* rgb */ color: rgb(63, 95, 179);
/* oklch */ color: oklch(50.5% 0.138 265.9);
Tailwind
colors: {
  custom: {
    50: '#808cca',
    500: '#3f5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fb3;
$custom-light: #808cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fb3",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 223.448,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.13823,
    "h": 265.9
  },
  "luminance": 0.12496
}

Semantic roles & 50–950 ramp

primary
#3F5FB3
secondary
#C4B489
accent
#B250D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3F5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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