#3F4AAF#3F4AAF

#3F4AAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.160 H 273.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#3F4AAF
RGBrgb(63, 74, 175)
HSLhsl(234, 47%, 47%)
HSVhsv(234, 64%, 69%)
CMYKcmyk(64%, 57.7%, 0%, 31.4%)
CIE-LABlab(36.08, 27.98, -55.40)
CIE-LCHlch(36.08, 62.06, 296.80°)
OKLaboklab(45.99% 0.0101 -0.1593)
OKLCHoklch(45.99% 0.16 273.6)
XYZxyz(12.2340, 9.0484, 41.6509)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AAF #AFA43F
analogous
#3F82AF #3F4AAF #6C3FAF
triadic
#3F4AAF #AF3F4A #4AAF3F
tetradic
#3F4AAF #AF3F82 #AFA43F #3FAF6C
square
#3F4AAF #AF3F82 #AFA43F #3FAF6C
split-complementary
#3F4AAF #AF6C3F #82AF3F
monochromatic
#1F2455 #2F3782 #3F4AAF #646EC7 #9198D7

Accessibility & contrast

On white

7.47
#3F4AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3F4AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4AAF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AAF#FFFFFF#000000##FFFFFF
##3F4AAF1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f4aaf;
/* rgb */ color: rgb(63, 74, 175);
/* oklch */ color: oklch(46.0% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#807cc8',
    500: '#3f4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #3f4aaf;
$custom-light: #807cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4aaf",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 234.107,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45994,
    "c": 0.15961,
    "h": 273.6
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#3F4AAF
secondary
#C3BD87
accent
#CA51D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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