#3F5BCA#3F5BCA

#3F5BCA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.175 H 268.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3F5BCA
RGBrgb(63, 91, 202)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 79%)
CMYKcmyk(68.8%, 55%, 0%, 20.8%)
CIE-LABlab(42.46, 26.64, -60.83)
CIE-LCHlch(42.46, 66.41, 293.65°)
OKLaboklab(51.4% -0.0038 -0.1751)
OKLCHoklch(51.4% 0.175 268.8)
XYZxyz(16.4480, 12.8016, 57.4698)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BCA #CAAE3F
analogous
#3FA0CA #3F5BCA #693FCA
triadic
#3F5BCA #CA3F5B #5BCA3F
tetradic
#3F5BCA #CA3FA0 #CAAE3F #3FCA69
square
#3F5BCA #CA3FA0 #CAAE3F #3FCA69
split-complementary
#3F5BCA #CA693F #A0CA3F
monochromatic
#1F2F70 #2C43A0 #3F5BCA #6F84D7 #9FADE4

Accessibility & contrast

On white

5.90
#3F5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F5BCA
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BCA#FFFFFF#000000##FFFFFF
##3F5BCA1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f5bca;
/* rgb */ color: rgb(63, 91, 202);
/* oklch */ color: oklch(51.4% 0.175 268.8);
Tailwind
colors: {
  custom: {
    50: '#8489db',
    500: '#3f5bca',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bca;
$custom-light: #8489db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bca",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 227.914,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.514,
    "c": 0.17511,
    "h": 268.8
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#3F5BCA
secondary
#D1C594
accent
#C148E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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