#3F5BB2#3F5BB2

#3F5BB2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.142 H 267.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3F5BB2
RGBrgb(63, 91, 178)
HSLhsl(225, 48%, 47%)
HSVhsv(225, 65%, 70%)
CMYKcmyk(64.6%, 48.9%, 0%, 30.2%)
CIE-LABlab(40.82, 18.04, -49.51)
CIE-LCHlch(40.82, 52.69, 290.02°)
OKLaboklab(49.63% -0.0059 -0.1417)
OKLCHoklch(49.63% 0.142 267.6)
XYZxyz(13.8241, 11.7520, 43.6507)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BB2 #B2963F
analogous
#3F95B2 #3F5BB2 #5C3FB2
triadic
#3F5BB2 #B23F5B #5BB23F
tetradic
#3F5BB2 #B23F95 #B2963F #3FB25C
square
#3F5BB2 #B23F95 #B2963F #3FB25C
split-complementary
#3F5BB2 #B25C3F #95B23F
monochromatic
#1F2D58 #2F4485 #3F5BB2 #667EC9 #93A4D9

Accessibility & contrast

On white

6.27
#3F5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3F5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BB2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BB2#FFFFFF#000000##FFFFFF
##3F5BB21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#145BB0
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5bb2;
/* rgb */ color: rgb(63, 91, 178);
/* oklch */ color: oklch(49.6% 0.142 267.6);
Tailwind
colors: {
  custom: {
    50: '#8089ca',
    500: '#3f5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bb2;
$custom-light: #8089ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bb2",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 225.391,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49633,
    "c": 0.14187,
    "h": 267.6
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#3F5BB2
secondary
#C4B689
accent
#B650D7
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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