#3F5EB3#3F5EB3

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

Color values

HEX#3F5EB3
RGBrgb(63, 94, 179)
HSLhsl(224, 48%, 47%)
HSVhsv(224, 65%, 70%)
CMYKcmyk(64.8%, 47.5%, 0%, 29.8%)
CIE-LABlab(41.71, 16.46, -48.66)
CIE-LCHlch(41.71, 51.37, 288.69°)
OKLaboklab(50.33% -0.0088 -0.1392)
OKLCHoklch(50.33% 0.139 266.4)
XYZxyz(14.1865, 12.3155, 44.2686)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EB3 #B3943F
analogous
#3F98B3 #3F5EB3 #5A3FB3
triadic
#3F5EB3 #B33F5E #5EB33F
tetradic
#3F5EB3 #B33F98 #B3943F #3FB35A
square
#3F5EB3 #B33F98 #B3943F #3FB35A
split-complementary
#3F5EB3 #B35A3F #98B33F
monochromatic
#1F2E58 #2F4686 #3F5EB3 #6681C9 #93A6D9

Accessibility & contrast

On white

6.06
#3F5EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F5EB3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EB3#FFFFFF#000000##FFFFFF
##3F5EB31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B6
Deuteranopia (green-blind)
#1C5DB1
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5eb3;
/* rgb */ color: rgb(63, 94, 179);
/* oklch */ color: oklch(50.3% 0.139 266.4);
Tailwind
colors: {
  custom: {
    50: '#808bca',
    500: '#3f5eb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5eb3;
$custom-light: #808bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5eb3",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 179
  },
  "hsl": {
    "h": 223.966,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50335,
    "c": 0.13949,
    "h": 266.4
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#3F5EB3
secondary
#C4B589
accent
#B350D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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