#3F5FA5#3F5FA5

#3F5FA5 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.6% C 0.118 H 264.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3F5FA5
RGBrgb(63, 95, 165)
HSLhsl(221, 45%, 45%)
HSVhsv(221, 62%, 65%)
CMYKcmyk(61.8%, 42.4%, 0%, 35.3%)
CIE-LABlab(41.15, 10.84, -41.31)
CIE-LCHlch(41.15, 42.70, 284.70°)
OKLaboklab(49.63% -0.0122 -0.1176)
OKLCHoklch(49.63% 0.118 264.1)
XYZxyz(12.9313, 11.9567, 37.2164)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FA5 #A5853F
analogous
#3F92A5 #3F5FA5 #523FA5
triadic
#3F5FA5 #A53F5F #5FA53F
tetradic
#3F5FA5 #A53F92 #A5853F #3FA552
square
#3F5FA5 #A53F92 #A5853F #3FA552
split-complementary
#3F5FA5 #A5523F #92A53F
monochromatic
#1D2C4C #2E4679 #3F5FA5 #5F7EC2 #8CA2D3

Accessibility & contrast

On white

6.19
#3F5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3F5FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FA5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FA5#FFFFFF#000000##FFFFFF
##3F5FA51.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4066A8
Deuteranopia (green-blind)
#315DA4
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5fa5;
/* rgb */ color: rgb(63, 95, 165);
/* oklch */ color: oklch(49.6% 0.118 264.1);
Tailwind
colors: {
  custom: {
    50: '#7d8cc0',
    500: '#3f5fa5',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fa5;
$custom-light: #7d8cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fa5",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 221.176,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49627,
    "c": 0.11823,
    "h": 264.1
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#3F5FA5
secondary
#BEAB82
accent
#AC53D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3F5FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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