#3F5CBC#3F5CBC

#3F5CBC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.155 H 267.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#3F5CBC
RGBrgb(63, 92, 188)
HSLhsl(226, 50%, 49%)
HSVhsv(226, 66%, 74%)
CMYKcmyk(66.5%, 51.1%, 0%, 26.3%)
CIE-LABlab(41.75, 20.97, -53.86)
CIE-LCHlch(41.75, 57.80, 291.28°)
OKLaboklab(50.55% -0.0057 -0.1545)
OKLCHoklch(50.55% 0.155 267.9)
XYZxyz(14.9510, 12.3405, 49.1612)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CBC #BC9F3F
analogous
#3F9BBC #3F5CBC #613FBC
triadic
#3F5CBC #BC3F5C #5CBC3F
tetradic
#3F5CBC #BC3F9B #BC9F3F #3FBC61
square
#3F5CBC #BC3F9B #BC9F3F #3FBC61
split-complementary
#3F5CBC #BC613F #9BBC3F
monochromatic
#202F60 #30468E #3F5CBC #6B82CD #99A8DD

Accessibility & contrast

On white

6.05
#3F5CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#3F5CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CBC
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CBC#FFFFFF#000000##FFFFFF
##3F5CBC1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5cbc;
/* rgb */ color: rgb(63, 92, 188);
/* oklch */ color: oklch(50.6% 0.155 267.9);
Tailwind
colors: {
  custom: {
    50: '#8289d1',
    500: '#3f5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cbc;
$custom-light: #8289d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cbc",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 226.08,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.15465,
    "h": 267.9
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#3F5CBC
secondary
#C9BB8E
accent
#B94ED9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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