#3F5BCB#3F5BCB

#3F5BCB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.176 H 268.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#3F5BCB
RGBrgb(63, 91, 203)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 80%)
CMYKcmyk(69%, 55.2%, 0%, 20.4%)
CIE-LABlab(42.53, 26.99, -61.29)
CIE-LCHlch(42.53, 66.97, 293.77°)
OKLaboklab(51.48% -0.0037 -0.1764)
OKLCHoklch(51.48% 0.176 268.8)
XYZxyz(16.5668, 12.8491, 58.0954)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5BCB #CBAF3F
analogous
#3FA1CB #3F5BCB #693FCB
triadic
#3F5BCB #CB3F5B #5BCB3F
tetradic
#3F5BCB #CB3FA1 #CBAF3F #3FCB69
square
#3F5BCB #CB3FA1 #CBAF3F #3FCB69
split-complementary
#3F5BCB #CB693F #A1CB3F
monochromatic
#1F2F71 #2C43A1 #3F5BCB #6F84D8 #9FADE5

Accessibility & contrast

On white

5.88
#3F5BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3F5BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5BCB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5BCB#FFFFFF#000000##FFFFFF
##3F5BCB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5bcb;
/* rgb */ color: rgb(63, 91, 203);
/* oklch */ color: oklch(51.5% 0.176 268.8);
Tailwind
colors: {
  custom: {
    50: '#8589dc',
    500: '#3f5bcb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5bcb;
$custom-light: #8589dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5bcb",
  "rgb": {
    "r": 63,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 228,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.17646,
    "h": 268.8
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F5BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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