#3F5CB2#3F5CB2

#3F5CB2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.141 H 267.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#3F5CB2
RGBrgb(63, 92, 178)
HSLhsl(225, 48%, 47%)
HSVhsv(225, 65%, 70%)
CMYKcmyk(64.6%, 48.3%, 0%, 30.2%)
CIE-LABlab(41.10, 17.39, -49.06)
CIE-LCHlch(41.10, 52.05, 289.52°)
OKLaboklab(49.84% -0.0069 -0.1404)
OKLCHoklch(49.84% 0.141 267.2)
XYZxyz(13.9102, 11.9241, 43.6794)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CB2 #B2953F
analogous
#3F95B2 #3F5CB2 #5C3FB2
triadic
#3F5CB2 #B23F5C #5CB23F
tetradic
#3F5CB2 #B23F95 #B2953F #3FB25C
square
#3F5CB2 #B23F95 #B2953F #3FB25C
split-complementary
#3F5CB2 #B25C3F #95B23F
monochromatic
#1F2D58 #2F4585 #3F5CB2 #667FC9 #93A4D9

Accessibility & contrast

On white

6.20
#3F5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3F5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CB2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CB2#FFFFFF#000000##FFFFFF
##3F5CB21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3066B5
Deuteranopia (green-blind)
#185CB0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5cb2;
/* rgb */ color: rgb(63, 92, 178);
/* oklch */ color: oklch(49.8% 0.141 267.2);
Tailwind
colors: {
  custom: {
    50: '#8089c9',
    500: '#3f5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cb2;
$custom-light: #8089c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cb2",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 224.87,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.1406,
    "h": 267.2
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#3F5CB2
secondary
#C4B589
accent
#B550D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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