#3F5CBB#3F5CBB

#3F5CBB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.153 H 267.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3F5CBB
RGBrgb(63, 92, 187)
HSLhsl(226, 50%, 49%)
HSVhsv(226, 66%, 73%)
CMYKcmyk(66.3%, 50.8%, 0%, 26.7%)
CIE-LABlab(41.69, 20.62, -53.38)
CIE-LCHlch(41.69, 57.23, 291.12°)
OKLaboklab(50.48% -0.0058 -0.1531)
OKLCHoklch(50.48% 0.153 267.8)
XYZxyz(14.8436, 12.2975, 48.5955)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CBB #BB9E3F
analogous
#3F9ABB #3F5CBB #603FBB
triadic
#3F5CBB #BB3F5C #5CBB3F
tetradic
#3F5CBB #BB3F9A #BB9E3F #3FBB60
square
#3F5CBB #BB3F9A #BB9E3F #3FBB60
split-complementary
#3F5CBB #BB603F #9ABB3F
monochromatic
#202F5F #30458D #3F5CBB #6A81CD #98A8DC

Accessibility & contrast

On white

6.07
#3F5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3F5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CBB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CBB#FFFFFF#000000##FFFFFF
##3F5CBB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3f5cbb;
/* rgb */ color: rgb(63, 92, 187);
/* oklch */ color: oklch(50.5% 0.153 267.8);
Tailwind
colors: {
  custom: {
    50: '#8189d0',
    500: '#3f5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cbb;
$custom-light: #8189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cbb",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 225.968,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.15325,
    "h": 267.8
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#3F5CBB
secondary
#C8BA8E
accent
#B94FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3F5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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