#3F4DAA#3F4DAA

#3F4DAA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.149 H 272.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#3F4DAA
RGBrgb(63, 77, 170)
HSLhsl(232, 46%, 46%)
HSVhsv(232, 63%, 67%)
CMYKcmyk(62.9%, 54.7%, 0%, 33.3%)
CIE-LABlab(36.49, 24.28, -51.75)
CIE-LCHlch(36.49, 57.17, 295.13°)
OKLaboklab(46.19% 0.0071 -0.1485)
OKLCHoklch(46.19% 0.149 272.7)
XYZxyz(11.9571, 9.2658, 39.1808)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4DAA #AA9C3F
analogous
#3F82AA #3F4DAA #673FAA
triadic
#3F4DAA #AA3F4D #4DAA3F
tetradic
#3F4DAA #AA3F82 #AA9C3F #3FAA67
square
#3F4DAA #AA3F82 #AA9C3F #3FAA67
split-complementary
#3F4DAA #AA673F #82AA3F
monochromatic
#1E2551 #2E397D #3F4DAA #626FC5 #8E97D5

Accessibility & contrast

On white

7.36
#3F4DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3F4DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4DAA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4DAA#FFFFFF#000000##FFFFFF
##3F4DAA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5BAD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4daa;
/* rgb */ color: rgb(63, 77, 170);
/* oklch */ color: oklch(46.2% 0.149 272.7);
Tailwind
colors: {
  custom: {
    50: '#7f7ec4',
    500: '#3f4daa',
    950: '#000000',
  },
}
SCSS
$custom: #3f4daa;
$custom-light: #7f7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4daa",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 232.15,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46187,
    "c": 0.14871,
    "h": 272.7
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#3F4DAA
secondary
#C0B885
accent
#C452D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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