#3B4FC7#3B4FC7

#3B4FC7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.7% C 0.187 H 270.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3B4FC7
RGBrgb(59, 79, 199)
HSLhsl(231, 56%, 51%)
HSVhsv(231, 70%, 78%)
CMYKcmyk(70.4%, 60.3%, 0%, 22%)
CIE-LABlab(38.97, 32.67, -64.78)
CIE-LCHlch(38.97, 72.55, 296.77°)
OKLaboklab(48.67% 0.0018 -0.1869)
OKLCHoklch(48.67% 0.187 270.5)
XYZxyz(14.9049, 10.6438, 55.2907)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4FC7 #C7B33B
analogous
#3B95C7 #3B4FC7 #6D3BC7
triadic
#3B4FC7 #C73B4F #4FC73B
tetradic
#3B4FC7 #C73B95 #C7B33B #3BC76D
square
#3B4FC7 #C73B95 #C7B33B #3BC76D
split-complementary
#3B4FC7 #C76D3B #95C73B
monochromatic
#1E2969 #2C3B99 #3B4FC7 #6B7AD5 #9AA4E2

Accessibility & contrast

On white

6.71
#3B4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3B4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4FC7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4FC7#FFFFFF#000000##FFFFFF
##3B4FC71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3b4fc7;
/* rgb */ color: rgb(59, 79, 199);
/* oklch */ color: oklch(48.7% 0.187 270.5);
Tailwind
colors: {
  custom: {
    50: '#8380d9',
    500: '#3b4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #3b4fc7;
$custom-light: #8380d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4fc7",
  "rgb": {
    "r": 59,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 231.429,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.18692,
    "h": 270.5
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#3B4FC7
secondary
#CEC590
accent
#C949DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3B4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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