#3F4CAF#3F4CAF

#3F4CAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.157 H 273.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#3F4CAF
RGBrgb(63, 76, 175)
HSLhsl(233, 47%, 47%)
HSVhsv(233, 64%, 69%)
CMYKcmyk(64%, 56.6%, 0%, 31.4%)
CIE-LABlab(36.59, 26.69, -54.56)
CIE-LCHlch(36.59, 60.74, 296.07°)
OKLaboklab(46.38% 0.0083 -0.1568)
OKLCHoklch(46.38% 0.157 273)
XYZxyz(12.3696, 9.3197, 41.6962)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CAF #AFA23F
analogous
#3F84AF #3F4CAF #6A3FAF
triadic
#3F4CAF #AF3F4C #4CAF3F
tetradic
#3F4CAF #AF3F84 #AFA23F #3FAF6A
square
#3F4CAF #AF3F84 #AFA23F #3FAF6A
split-complementary
#3F4CAF #AF6A3F #84AF3F
monochromatic
#1F2555 #2F3882 #3F4CAF #6470C7 #9199D7

Accessibility & contrast

On white

7.33
#3F4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3F4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4CAF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CAF#FFFFFF#000000##FFFFFF
##3F4CAF1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4caf;
/* rgb */ color: rgb(63, 76, 175);
/* oklch */ color: oklch(46.4% 0.157 273.0);
Tailwind
colors: {
  custom: {
    50: '#807dc8',
    500: '#3f4caf',
    950: '#000000',
  },
}
SCSS
$custom: #3f4caf;
$custom-light: #807dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4caf",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 233.036,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46378,
    "c": 0.15703,
    "h": 273
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#3F4CAF
secondary
#C3BC87
accent
#C751D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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