#3F4AA3#3F4AA3

#3F4AA3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.143 H 273.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3F4AA3
RGBrgb(63, 74, 163)
HSLhsl(233, 44%, 44%)
HSVhsv(233, 61%, 64%)
CMYKcmyk(61.3%, 54.6%, 0%, 36.1%)
CIE-LABlab(35.20, 23.77, -49.66)
CIE-LCHlch(35.20, 55.06, 295.58°)
OKLaboklab(45.06% 0.0097 -0.1424)
OKLCHoklch(45.06% 0.143 273.9)
XYZxyz(11.1074, 8.5978, 35.7174)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AA3 #A3983F
analogous
#3F7CA3 #3F4AA3 #663FA3
triadic
#3F4AA3 #A33F4A #4AA33F
tetradic
#3F4AA3 #A33F7C #A3983F #3FA366
square
#3F4AA3 #A33F7C #A3983F #3FA366
split-complementary
#3F4AA3 #A3663F #7CA33F
monochromatic
#1D224B #2E3677 #3F4AA3 #5E69C1 #8A92D2

Accessibility & contrast

On white

7.72
#3F4AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3F4AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4AA3
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AA3#FFFFFF#000000##FFFFFF
##3F4AA31.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f4aa3;
/* rgb */ color: rgb(63, 74, 163);
/* oklch */ color: oklch(45.1% 0.143 273.9);
Tailwind
colors: {
  custom: {
    50: '#7e7cbf',
    500: '#3f4aa3',
    950: '#000000',
  },
}
SCSS
$custom: #3f4aa3;
$custom-light: #7e7cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4aa3",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 163
  },
  "hsl": {
    "h": 233.4,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.14275,
    "h": 273.9
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#3F4AA3
secondary
#BDB681
accent
#C654D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F4AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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