#3F5FAE#3F5FAE

#3F5FAE is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.131 H 265.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3F5FAE
RGBrgb(63, 95, 174)
HSLhsl(223, 47%, 46%)
HSVhsv(223, 64%, 68%)
CMYKcmyk(63.8%, 45.4%, 0%, 31.8%)
CIE-LABlab(41.68, 14.03, -45.77)
CIE-LCHlch(41.68, 47.87, 287.05°)
OKLaboklab(50.21% -0.0106 -0.1307)
OKLCHoklch(50.21% 0.131 265.4)
XYZxyz(13.7795, 12.2959, 41.6834)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FAE #AE8E3F
analogous
#3F97AE #3F5FAE #573FAE
triadic
#3F5FAE #AE3F5F #5FAE3F
tetradic
#3F5FAE #AE3F97 #AE8E3F #3FAE57
square
#3F5FAE #AE3F97 #AE8E3F #3FAE57
split-complementary
#3F5FAE #AE573F #97AE3F
monochromatic
#1E2E54 #2F4681 #3F5FAE #6480C7 #90A5D7

Accessibility & contrast

On white

6.07
#3F5FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F5FAE
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FAE#FFFFFF#000000##FFFFFF
##3F5FAE1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B1
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5fae;
/* rgb */ color: rgb(63, 95, 174);
/* oklch */ color: oklch(50.2% 0.131 265.4);
Tailwind
colors: {
  custom: {
    50: '#7f8cc7',
    500: '#3f5fae',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fae;
$custom-light: #7f8cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fae",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 174
  },
  "hsl": {
    "h": 222.703,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50212,
    "c": 0.13113,
    "h": 265.4
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#3F5FAE
secondary
#C2B187
accent
#B051D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3F5FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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