#3F5FBC#3F5FBC

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

Color values

HEX#3F5FBC
RGBrgb(63, 95, 188)
HSLhsl(225, 50%, 49%)
HSVhsv(225, 66%, 74%)
CMYKcmyk(66.5%, 49.5%, 0%, 26.3%)
CIE-LABlab(42.57, 19.05, -52.55)
CIE-LCHlch(42.57, 55.89, 289.92°)
OKLaboklab(51.17% -0.0085 -0.1506)
OKLCHoklch(51.17% 0.151 266.8)
XYZxyz(15.2161, 12.8706, 49.2496)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5FBC #BC9C3F
analogous
#3F9EBC #3F5FBC #5E3FBC
triadic
#3F5FBC #BC3F5F #5FBC3F
tetradic
#3F5FBC #BC3F9E #BC9C3F #3FBC5E
square
#3F5FBC #BC3F9E #BC9C3F #3FBC5E
split-complementary
#3F5FBC #BC5E3F #9EBC3F
monochromatic
#203160 #30488E #3F5FBC #6B84CD #99AADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F5FBC#FFFFFF#000000##FFFFFF
##3F5FBC1.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)
#2C6ABF
Deuteranopia (green-blind)
#075FBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f5fbc;
/* rgb */ color: rgb(63, 95, 188);
/* oklch */ color: oklch(51.2% 0.151 266.8);
Tailwind
colors: {
  custom: {
    50: '#818bd1',
    500: '#3f5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3f5fbc;
$custom-light: #818bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5fbc",
  "rgb": {
    "r": 63,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 224.64,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.15087,
    "h": 266.8
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#3F5FBC
secondary
#C9BA8E
accent
#B64ED9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #3F5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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