#3F4EA8#3F4EA8

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

Color values

HEX#3F4EA8
RGBrgb(63, 78, 168)
HSLhsl(231, 45%, 45%)
HSVhsv(231, 63%, 66%)
CMYKcmyk(62.5%, 53.6%, 0%, 34.1%)
CIE-LABlab(36.62, 22.92, -50.36)
CIE-LCHlch(36.62, 55.33, 294.47°)
OKLaboklab(46.24% 0.006 -0.1444)
OKLCHoklch(46.24% 0.145 272.4)
XYZxyz(11.8398, 9.3317, 38.2155)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4EA8 #A8993F
analogous
#3F82A8 #3F4EA8 #653FA8
triadic
#3F4EA8 #A83F4E #4EA83F
tetradic
#3F4EA8 #A83F82 #A8993F #3FA865
square
#3F4EA8 #A83F82 #A8993F #3FA865
split-complementary
#3F4EA8 #A8653F #82A83F
monochromatic
#1E254F #2E397B #3F4EA8 #616FC4 #8D97D4

Accessibility & contrast

On white

7.33
#3F4EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3F4EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4EA8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4EA8#FFFFFF#000000##FFFFFF
##3F4EA81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155BAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f4ea8;
/* rgb */ color: rgb(63, 78, 168);
/* oklch */ color: oklch(46.2% 0.145 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f7fc2',
    500: '#3f4ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ea8;
$custom-light: #7f7fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ea8",
  "rgb": {
    "r": 63,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 231.429,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.14455,
    "h": 272.4
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#3F4EA8
secondary
#BFB784
accent
#C253D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #3F4EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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