#3F5EBE#3F5EBE

#3F5EBE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.155 H 267.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3F5EBE
RGBrgb(63, 94, 190)
HSLhsl(225, 50%, 50%)
HSVhsv(225, 67%, 75%)
CMYKcmyk(66.8%, 50.5%, 0%, 25.5%)
CIE-LABlab(42.43, 20.41, -53.94)
CIE-LCHlch(42.43, 57.67, 290.72°)
OKLaboklab(51.11% -0.0074 -0.1547)
OKLCHoklch(51.11% 0.155 267.3)
XYZxyz(15.3437, 12.7784, 50.3631)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5EBE #BE9F3F
analogous
#3F9EBE #3F5EBE #5F3FBE
triadic
#3F5EBE #BE3F5E #5EBE3F
tetradic
#3F5EBE #BE3F9E #BE9F3F #3FBE5F
square
#3F5EBE #BE3F9E #BE9F3F #3FBE5F
split-complementary
#3F5EBE #BE5F3F #9EBE3F
monochromatic
#213162 #304790 #3F5EBE #6C84CE #9AAADD

Accessibility & contrast

On white

5.91
#3F5EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3F5EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5EBE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5EBE#FFFFFF#000000##FFFFFF
##3F5EBE1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5ebe;
/* rgb */ color: rgb(63, 94, 190);
/* oklch */ color: oklch(51.1% 0.155 267.3);
Tailwind
colors: {
  custom: {
    50: '#828bd2',
    500: '#3f5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ebe;
$custom-light: #828bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ebe",
  "rgb": {
    "r": 63,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 225.354,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.15492,
    "h": 267.3
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#3F5EBE
secondary
#C9BB8F
accent
#B84EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3F5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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