#3F5CCF#3F5CCF

#3F5CCF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.181 H 268.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#3F5CCF
RGBrgb(63, 92, 207)
HSLhsl(228, 60%, 53%)
HSVhsv(228, 70%, 81%)
CMYKcmyk(69.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(43.08, 27.79, -62.70)
CIE-LCHlch(43.08, 68.58, 293.90°)
OKLaboklab(51.98% -0.0043 -0.1806)
OKLCHoklch(51.98% 0.181 268.6)
XYZxyz(17.1357, 13.2143, 60.6669)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CCF #CFB23F
analogous
#3FA4CF #3F5CCF #6A3FCF
triadic
#3F5CCF #CF3F5C #5CCF3F
tetradic
#3F5CCF #CF3FA4 #CFB23F #3FCF6A
square
#3F5CCF #CF3FA4 #CFB23F #3FCF6A
split-complementary
#3F5CCF #CF6A3F #A4CF3F
monochromatic
#1E2F76 #2A43A7 #3F5CCF #7086DB #A1AFE7

Accessibility & contrast

On white

5.76
#3F5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#3F5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CCF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CCF#FFFFFF#000000##FFFFFF
##3F5CCF1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3f5ccf;
/* rgb */ color: rgb(63, 92, 207);
/* oklch */ color: oklch(52.0% 0.181 268.6);
Tailwind
colors: {
  custom: {
    50: '#8589de',
    500: '#3f5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ccf;
$custom-light: #8589de;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ccf",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 227.917,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.18061,
    "h": 268.6
  },
  "luminance": 0.13216
}

Semantic roles & 50–950 ramp

primary
#3F5CCF
secondary
#D4C796
accent
#C345E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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