#3F5EB2#3F5EB2

#3F5EB2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.138 H 266.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3F5EB2
RGBrgb(63, 94, 178)
HSLhsl(224, 48%, 47%)
HSVhsv(224, 65%, 70%)
CMYKcmyk(64.6%, 47.2%, 0%, 30.2%)
CIE-LABlab(41.65, 16.10, -48.17)
CIE-LCHlch(41.65, 50.79, 288.48°)
OKLaboklab(50.27% -0.0089 -0.1378)
OKLCHoklch(50.27% 0.138 266.3)
XYZxyz(14.0857, 12.2752, 43.7379)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EB2 #B2933F
analogous
#3F98B2 #3F5EB2 #593FB2
triadic
#3F5EB2 #B23F5E #5EB23F
tetradic
#3F5EB2 #B23F98 #B2933F #3FB259
square
#3F5EB2 #B23F98 #B2933F #3FB259
split-complementary
#3F5EB2 #B2593F #98B23F
monochromatic
#1F2E58 #2F4685 #3F5EB2 #6680C9 #93A6D9

Accessibility & contrast

On white

6.08
#3F5EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3F5EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EB2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EB2#FFFFFF#000000##FFFFFF
##3F5EB21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#1E5DB0
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5eb2;
/* rgb */ color: rgb(63, 94, 178);
/* oklch */ color: oklch(50.3% 0.138 266.3);
Tailwind
colors: {
  custom: {
    50: '#808bc9',
    500: '#3f5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5eb2;
$custom-light: #808bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5eb2",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 223.826,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.13807,
    "h": 266.3
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#3F5EB2
secondary
#C4B489
accent
#B350D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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