#3F5CB3#3F5CB3

#3F5CB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.142 H 267.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3F5CB3
RGBrgb(63, 92, 179)
HSLhsl(225, 48%, 47%)
HSVhsv(225, 65%, 70%)
CMYKcmyk(64.8%, 48.6%, 0%, 29.8%)
CIE-LABlab(41.16, 17.75, -49.55)
CIE-LCHlch(41.16, 52.63, 289.71°)
OKLaboklab(49.91% -0.0068 -0.1418)
OKLCHoklch(49.91% 0.142 267.3)
XYZxyz(14.0109, 11.9645, 44.2101)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5CB3 #B3963F
analogous
#3F96B3 #3F5CB3 #5C3FB3
triadic
#3F5CB3 #B33F5C #5CB33F
tetradic
#3F5CB3 #B33F96 #B3963F #3FB35C
square
#3F5CB3 #B33F96 #B3963F #3FB35C
split-complementary
#3F5CB3 #B35C3F #96B33F
monochromatic
#1F2D58 #2F4586 #3F5CB3 #667FC9 #93A5D9

Accessibility & contrast

On white

6.19
#3F5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3F5CB3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5CB3#FFFFFF#000000##FFFFFF
##3F5CB31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#155CB1
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5cb3;
/* rgb */ color: rgb(63, 92, 179);
/* oklch */ color: oklch(49.9% 0.142 267.3);
Tailwind
colors: {
  custom: {
    50: '#8089ca',
    500: '#3f5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f5cb3;
$custom-light: #8089ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5cb3",
  "rgb": {
    "r": 63,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 225,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.14201,
    "h": 267.3
  },
  "luminance": 0.11966
}

Semantic roles & 50–950 ramp

primary
#3F5CB3
secondary
#C4B689
accent
#B650D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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