#3F5FA9#3F5FA9

#3F5FA9 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.124 H 264.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3F5FA9
RGBrgb(63, 95, 169)
HSLhsl(222, 46%, 45%)
HSVhsv(222, 63%, 66%)
CMYKcmyk(62.7%, 43.8%, 0%, 33.7%)
CIE-LABlab(41.38, 12.25, -43.30)
CIE-LCHlch(41.38, 45.00, 285.80°)
OKLaboklab(49.88% -0.0114 -0.1234)
OKLCHoklch(49.88% 0.124 264.7)
XYZxyz(13.3011, 12.1046, 39.1639)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FA9 #A9893F
analogous
#3F94A9 #3F5FA9 #543FA9
triadic
#3F5FA9 #A93F5F #5FA93F
tetradic
#3F5FA9 #A93F94 #A9893F #3FA954
square
#3F5FA9 #A93F94 #A9893F #3FA954
split-complementary
#3F5FA9 #A9543F #94A93F
monochromatic
#1E2D50 #2E467C #3F5FA9 #617FC4 #8EA3D5

Accessibility & contrast

On white

6.14
#3F5FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3F5FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FA9
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FA9#FFFFFF#000000##FFFFFF
##3F5FA91.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AC
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5fa9;
/* rgb */ color: rgb(63, 95, 169);
/* oklch */ color: oklch(49.9% 0.124 264.7);
Tailwind
colors: {
  custom: {
    50: '#7e8cc3',
    500: '#3f5fa9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fa9;
$custom-light: #7e8cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fa9",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 221.887,
    "s": 45.69,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49883,
    "c": 0.12398,
    "h": 264.7
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#3F5FA9
secondary
#C0AE84
accent
#AE52D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #3F5FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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