#3F5FDA#3F5FDA

#3F5FDA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.192 H 268.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3F5FDA
RGBrgb(63, 95, 218)
HSLhsl(228, 68%, 55%)
HSVhsv(228, 71%, 85%)
CMYKcmyk(71.1%, 56.4%, 0%, 14.5%)
CIE-LABlab(44.66, 29.81, -66.44)
CIE-LCHlch(44.66, 72.82, 294.17°)
OKLaboklab(53.42% -0.0062 -0.1915)
OKLCHoklch(53.42% 0.192 268.1)
XYZxyz(18.7926, 14.3012, 68.0861)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FDA #DABA3F
analogous
#3FACDA #3F5FDA #6C3FDA
triadic
#3F5FDA #DA3F5F #5FDA3F
tetradic
#3F5FDA #DA3FAC #DABA3F #3FDA6C
square
#3F5FDA #DA3FAC #DABA3F #3FDA6C
split-complementary
#3F5FDA #DA6C3F #ACDA3F
monochromatic
#1A3085 #2442B8 #3F5FDA #728AE4 #A6B5EE

Accessibility & contrast

On white

5.44
#3F5FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#3F5FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5FDA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5FDA#FFFFFF#000000##FFFFFF
##3F5FDA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f5fda;
/* rgb */ color: rgb(63, 95, 218);
/* oklch */ color: oklch(53.4% 0.192 268.1);
Tailwind
colors: {
  custom: {
    50: '#878ce6',
    500: '#3f5fda',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fda;
$custom-light: #878ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fda",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 227.613,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53418,
    "c": 0.1916,
    "h": 268.1
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#3F5FDA
secondary
#DBCD9A
accent
#C73DEB
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3F5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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