#3F5FA6#3F5FA6

#3F5FA6 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.7% C 0.120 H 264.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3F5FA6
RGBrgb(63, 95, 166)
HSLhsl(221, 45%, 45%)
HSVhsv(221, 62%, 65%)
CMYKcmyk(62%, 42.8%, 0%, 34.9%)
CIE-LABlab(41.21, 11.19, -41.81)
CIE-LCHlch(41.21, 43.28, 284.99°)
OKLaboklab(49.69% -0.012 -0.1191)
OKLCHoklch(49.69% 0.12 264.2)
XYZxyz(13.0227, 11.9932, 37.6976)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FA6 #A6863F
analogous
#3F93A6 #3F5FA6 #523FA6
triadic
#3F5FA6 #A63F5F #5FA63F
tetradic
#3F5FA6 #A63F93 #A6863F #3FA652
square
#3F5FA6 #A63F93 #A6863F #3FA652
split-complementary
#3F5FA6 #A6523F #93A63F
monochromatic
#1D2C4D #2E467A #3F5FA6 #607EC3 #8CA2D3

Accessibility & contrast

On white

6.18
#3F5FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3F5FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FA6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FA6#FFFFFF#000000##FFFFFF
##3F5FA61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A9
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#006F7A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5fa6;
/* rgb */ color: rgb(63, 95, 166);
/* oklch */ color: oklch(49.7% 0.120 264.2);
Tailwind
colors: {
  custom: {
    50: '#7e8cc1',
    500: '#3f5fa6',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fa6;
$custom-light: #7e8cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fa6",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 221.359,
    "s": 44.978,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4969,
    "c": 0.11968,
    "h": 264.2
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#3F5FA6
secondary
#BEAC83
accent
#AC53D5
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #3F5FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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