#3F5ABB#3F5ABB

#3F5ABB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.156 H 268.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3F5ABB
RGBrgb(63, 90, 187)
HSLhsl(227, 50%, 49%)
HSVhsv(227, 66%, 73%)
CMYKcmyk(66.3%, 51.9%, 0%, 26.7%)
CIE-LABlab(41.15, 21.90, -54.26)
CIE-LCHlch(41.15, 58.51, 291.99°)
OKLaboklab(50.07% -0.004 -0.1557)
OKLCHoklch(50.07% 0.156 268.5)
XYZxyz(14.6726, 11.9556, 48.5385)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ABB #BBA03F
analogous
#3F98BB #3F5ABB #623FBB
triadic
#3F5ABB #BB3F5A #5ABB3F
tetradic
#3F5ABB #BB3F98 #BBA03F #3FBB62
square
#3F5ABB #BB3F98 #BBA03F #3FBB62
split-complementary
#3F5ABB #BB623F #98BB3F
monochromatic
#202E5F #30448D #3F5ABB #6A80CD #98A7DC

Accessibility & contrast

On white

6.19
#3F5ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3F5ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ABB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ABB#FFFFFF#000000##FFFFFF
##3F5ABB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BE
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5abb;
/* rgb */ color: rgb(63, 90, 187);
/* oklch */ color: oklch(50.1% 0.156 268.5);
Tailwind
colors: {
  custom: {
    50: '#8288d0',
    500: '#3f5abb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5abb;
$custom-light: #8288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5abb",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 226.935,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.15578,
    "h": 268.5
  },
  "luminance": 0.11957
}

Semantic roles & 50–950 ramp

primary
#3F5ABB
secondary
#C8BB8E
accent
#BB4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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