#3F5BD9#3F5BD9

#3F5BD9 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.195 H 269.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3F5BD9
RGBrgb(63, 91, 217)
HSLhsl(229, 67%, 55%)
HSVhsv(229, 71%, 85%)
CMYKcmyk(71%, 58.1%, 0%, 14.9%)
CIE-LABlab(43.58, 31.98, -67.63)
CIE-LCHlch(43.58, 74.81, 295.31°)
OKLaboklab(52.58% -0.0032 -0.1951)
OKLCHoklch(52.58% 0.195 269.1)
XYZxyz(18.3111, 13.5468, 67.2820)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BD9 #D9BD3F
analogous
#3FA8D9 #3F5BD9 #703FD9
triadic
#3F5BD9 #D93F5B #5BD93F
tetradic
#3F5BD9 #D93FA8 #D9BD3F #3FD970
square
#3F5BD9 #D93FA8 #D9BD3F #3FD970
split-complementary
#3F5BD9 #D9703F #A8D93F
monochromatic
#1A2D84 #243FB7 #3F5BD9 #7287E3 #A5B2ED

Accessibility & contrast

On white

5.66
#3F5BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3F5BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BD9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BD9#FFFFFF#000000##FFFFFF
##3F5BD91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0060D7
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3f5bd9;
/* rgb */ color: rgb(63, 91, 217);
/* oklch */ color: oklch(52.6% 0.195 269.1);
Tailwind
colors: {
  custom: {
    50: '#8889e6',
    500: '#3f5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bd9;
$custom-light: #8889e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bd9",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 229.091,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52583,
    "c": 0.19509,
    "h": 269.1
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#3F5BD9
secondary
#DACF9A
accent
#CB3EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3F5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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