#3F5CB0#3F5CB0

#3F5CB0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.138 H 267.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3F5CB0
RGBrgb(63, 92, 176)
HSLhsl(225, 47%, 47%)
HSVhsv(225, 64%, 69%)
CMYKcmyk(64.2%, 47.7%, 0%, 31%)
CIE-LABlab(40.97, 16.68, -48.09)
CIE-LCHlch(40.97, 50.90, 289.13°)
OKLaboklab(49.71% -0.0072 -0.1376)
OKLCHoklch(49.71% 0.138 267)
XYZxyz(13.7108, 11.8444, 42.6295)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CB0 #B0933F
analogous
#3F95B0 #3F5CB0 #5B3FB0
triadic
#3F5CB0 #B03F5C #5CB03F
tetradic
#3F5CB0 #B03F95 #B0933F #3FB05B
square
#3F5CB0 #B03F95 #B0933F #3FB05B
split-complementary
#3F5CB0 #B05B3F #95B03F
monochromatic
#1F2D56 #2F4483 #3F5CB0 #657EC8 #92A4D8

Accessibility & contrast

On white

6.23
#3F5CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3F5CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5CB0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CB0#FFFFFF#000000##FFFFFF
##3F5CB01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B3
Deuteranopia (green-blind)
#1C5CAE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5cb0;
/* rgb */ color: rgb(63, 92, 176);
/* oklch */ color: oklch(49.7% 0.138 267.0);
Tailwind
colors: {
  custom: {
    50: '#7f89c8',
    500: '#3f5cb0',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cb0;
$custom-light: #7f89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cb0",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 224.602,
    "s": 47.28,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49705,
    "c": 0.13776,
    "h": 267
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#3F5CB0
secondary
#C3B488
accent
#B551D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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