#3F5BC9#3F5BC9

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

Color values

HEX#3F5BC9
RGBrgb(63, 91, 201)
HSLhsl(228, 56%, 52%)
HSVhsv(228, 69%, 79%)
CMYKcmyk(68.7%, 54.7%, 0%, 21.2%)
CIE-LABlab(42.39, 26.28, -60.37)
CIE-LCHlch(42.39, 65.84, 293.52°)
OKLaboklab(51.32% -0.0038 -0.1737)
OKLCHoklch(51.32% 0.174 268.7)
XYZxyz(16.3300, 12.7544, 56.8483)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BC9 #C9AD3F
analogous
#3FA0C9 #3F5BC9 #683FC9
triadic
#3F5BC9 #C93F5B #5BC93F
tetradic
#3F5BC9 #C93FA0 #C9AD3F #3FC968
square
#3F5BC9 #C93FA0 #C9AD3F #3FC968
split-complementary
#3F5BC9 #C9683F #A0C93F
monochromatic
#1F2F6F #2D449E #3F5BC9 #6F84D6 #9FADE4

Accessibility & contrast

On white

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

On black

3.55
#3F5BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F5BC9#FFFFFF#000000##FFFFFF
##3F5BC91.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5bc9;
/* rgb */ color: rgb(63, 91, 201);
/* oklch */ color: oklch(51.3% 0.174 268.7);
Tailwind
colors: {
  custom: {
    50: '#8489da',
    500: '#3f5bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bc9;
$custom-light: #8489da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bc9",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 201
  },
  "hsl": {
    "h": 227.826,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51323,
    "c": 0.17376,
    "h": 268.7
  },
  "luminance": 0.12756
}

Semantic roles & 50–950 ramp

primary
#3F5BC9
secondary
#D0C494
accent
#C148DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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