#3F4FAF#3F4FAF

#3F4FAF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.153 H 272.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3F4FAF
RGBrgb(63, 79, 175)
HSLhsl(231, 47%, 47%)
HSVhsv(231, 64%, 69%)
CMYKcmyk(64%, 54.9%, 0%, 31.4%)
CIE-LABlab(37.38, 24.75, -53.29)
CIE-LCHlch(37.38, 58.75, 294.91°)
OKLaboklab(46.97% 0.0055 -0.153)
OKLCHoklch(46.97% 0.153 272)
XYZxyz(12.5812, 9.7428, 41.7667)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FAF #AF9F3F
analogous
#3F87AF #3F4FAF #673FAF
triadic
#3F4FAF #AF3F4F #4FAF3F
tetradic
#3F4FAF #AF3F87 #AF9F3F #3FAF67
square
#3F4FAF #AF3F87 #AF9F3F #3FAF67
split-complementary
#3F4FAF #AF673F #87AF3F
monochromatic
#1F2655 #2F3B82 #3F4FAF #6472C7 #919BD7

Accessibility & contrast

On white

7.12
#3F4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3F4FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4FAF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FAF#FFFFFF#000000##FFFFFF
##3F4FAF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075DB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f4faf;
/* rgb */ color: rgb(63, 79, 175);
/* oklch */ color: oklch(47.0% 0.153 272.0);
Tailwind
colors: {
  custom: {
    50: '#8080c8',
    500: '#3f4faf',
    950: '#000000',
  },
}
SCSS
$custom: #3f4faf;
$custom-light: #8080c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4faf",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 231.429,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.15314,
    "h": 272
  },
  "luminance": 0.09744
}

Semantic roles & 50–950 ramp

primary
#3F4FAF
secondary
#C3BA87
accent
#C451D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3F4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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