#3F64AA#3F64AA

#3F64AA is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.1% C 0.119 H 262.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3F64AA
RGBrgb(63, 100, 170)
HSLhsl(219, 46%, 46%)
HSVhsv(219, 63%, 67%)
CMYKcmyk(62.9%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.87, 9.42, -41.52)
CIE-LCHlch(42.87, 42.57, 282.78°)
OKLaboklab(51.05% -0.0166 -0.1181)
OKLCHoklch(51.05% 0.119 262)
XYZxyz(13.8602, 13.0721, 39.8152)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F64AA #AA853F
analogous
#3F99AA #3F64AA #4F3FAA
triadic
#3F64AA #AA3F64 #64AA3F
tetradic
#3F64AA #AA3F99 #AA853F #3FAA4F
square
#3F64AA #AA3F99 #AA853F #3FAA4F
split-complementary
#3F64AA #AA4F3F #99AA3F
monochromatic
#1E2F51 #2E4A7D #3F64AA #6284C5 #8EA7D5

Accessibility & contrast

On white

5.81
#3F64AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3F64AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F64AA
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F64AA#FFFFFF#000000##FFFFFF
##3F64AA1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f64aa;
/* rgb */ color: rgb(63, 100, 170);
/* oklch */ color: oklch(51.1% 0.119 262.0);
Tailwind
colors: {
  custom: {
    50: '#7e8fc4',
    500: '#3f64aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f64aa;
$custom-light: #7e8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f64aa",
  "rgb": {
    "r": 63,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 219.252,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.11931,
    "h": 262
  },
  "luminance": 0.13073
}

Semantic roles & 50–950 ramp

primary
#3F64AA
secondary
#C0AC85
accent
#A852D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #3F64AA

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

Preview Lab → · Contrast checker → · Palette generator →

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