#3F5CCB#3F5CCB

#3F5CCB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.175 H 268.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3F5CCB
RGBrgb(63, 92, 203)
HSLhsl(228, 57%, 52%)
HSVhsv(228, 69%, 80%)
CMYKcmyk(69%, 54.7%, 0%, 20.4%)
CIE-LABlab(42.80, 26.35, -60.87)
CIE-LCHlch(42.80, 66.33, 293.41°)
OKLaboklab(51.67% -0.0045 -0.1752)
OKLCHoklch(51.67% 0.175 268.5)
XYZxyz(16.6528, 13.0212, 58.1241)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CCB #CBAE3F
analogous
#3FA2CB #3F5CCB #683FCB
triadic
#3F5CCB #CB3F5C #5CCB3F
tetradic
#3F5CCB #CB3FA2 #CBAE3F #3FCB68
square
#3F5CCB #CB3FA2 #CBAE3F #3FCB68
split-complementary
#3F5CCB #CB683F #A2CB3F
monochromatic
#1F3071 #2C44A1 #3F5CCB #6F85D8 #9FAEE5

Accessibility & contrast

On white

5.83
#3F5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3F5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CCB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CCB#FFFFFF#000000##FFFFFF
##3F5CCB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f5ccb;
/* rgb */ color: rgb(63, 92, 203);
/* oklch */ color: oklch(51.7% 0.175 268.5);
Tailwind
colors: {
  custom: {
    50: '#8589dc',
    500: '#3f5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5ccb;
$custom-light: #8589dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5ccb",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 227.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.17523,
    "h": 268.5
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#3F5CCB
secondary
#D1C594
accent
#C147E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3F5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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