#3F5EA6#3F5EA6

#3F5EA6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.121 H 264.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3F5EA6
RGBrgb(63, 94, 166)
HSLhsl(222, 45%, 45%)
HSVhsv(222, 62%, 65%)
CMYKcmyk(62%, 43.4%, 0%, 34.9%)
CIE-LABlab(40.92, 11.83, -42.26)
CIE-LCHlch(40.92, 43.89, 285.64°)
OKLaboklab(49.47% -0.0109 -0.1204)
OKLCHoklch(49.47% 0.121 264.8)
XYZxyz(12.9332, 11.8142, 37.6678)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EA6 #A6873F
analogous
#3F91A6 #3F5EA6 #543FA6
triadic
#3F5EA6 #A63F5E #5EA63F
tetradic
#3F5EA6 #A63F91 #A6873F #3FA654
square
#3F5EA6 #A63F91 #A6873F #3FA654
split-complementary
#3F5EA6 #A6543F #91A63F
monochromatic
#1D2C4D #2E457A #3F5EA6 #607DC3 #8CA2D3

Accessibility & contrast

On white

6.24
#3F5EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3F5EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EA6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EA6#FFFFFF#000000##FFFFFF
##3F5EA61.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66A9
Deuteranopia (green-blind)
#2E5CA4
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3f5ea6;
/* rgb */ color: rgb(63, 94, 166);
/* oklch */ color: oklch(49.5% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#7e8bc1',
    500: '#3f5ea6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ea6;
$custom-light: #7e8bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ea6",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 221.942,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4947,
    "c": 0.12092,
    "h": 264.8
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#3F5EA6
secondary
#BEAC83
accent
#AE53D5
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #3F5EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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