#3F4FA8#3F4FA8

#3F4FA8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.143 H 272.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#3F4FA8
RGBrgb(63, 79, 168)
HSLhsl(231, 45%, 45%)
HSVhsv(231, 63%, 66%)
CMYKcmyk(62.5%, 53%, 0%, 34.1%)
CIE-LABlab(36.88, 22.27, -49.93)
CIE-LCHlch(36.88, 54.67, 294.04°)
OKLaboklab(46.44% 0.005 -0.1431)
OKLCHoklch(46.44% 0.143 272)
XYZxyz(11.9114, 9.4749, 38.2393)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4FA8 #A8983F
analogous
#3F84A8 #3F4FA8 #633FA8
triadic
#3F4FA8 #A83F4F #4FA83F
tetradic
#3F4FA8 #A83F84 #A8983F #3FA863
square
#3F4FA8 #A83F84 #A8983F #3FA863
split-complementary
#3F4FA8 #A8633F #84A83F
monochromatic
#1E254F #2E3A7B #3F4FA8 #6170C4 #8D98D4

Accessibility & contrast

On white

7.25
#3F4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F4FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4FA8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4FA8#FFFFFF#000000##FFFFFF
##3F4FA81.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195CAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3f4fa8;
/* rgb */ color: rgb(63, 79, 168);
/* oklch */ color: oklch(46.4% 0.143 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f80c2',
    500: '#3f4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3f4fa8;
$custom-light: #7f80c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4fa8",
  "rgb": {
    "r": 63,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 230.857,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.14324,
    "h": 272
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#3F4FA8
secondary
#BFB684
accent
#C153D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3F4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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