#3F5ABC#3F5ABC

#3F5ABC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.157 H 268.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3F5ABC
RGBrgb(63, 90, 188)
HSLhsl(227, 50%, 49%)
HSVhsv(227, 66%, 74%)
CMYKcmyk(66.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(41.21, 22.26, -54.73)
CIE-LCHlch(41.21, 59.08, 292.14°)
OKLaboklab(50.15% -0.0039 -0.1571)
OKLCHoklch(50.15% 0.157 268.6)
XYZxyz(14.7801, 11.9985, 49.1042)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5ABC #BCA13F
analogous
#3F99BC #3F5ABC #633FBC
triadic
#3F5ABC #BC3F5A #5ABC3F
tetradic
#3F5ABC #BC3F99 #BCA13F #3FBC63
square
#3F5ABC #BC3F99 #BCA13F #3FBC63
split-complementary
#3F5ABC #BC633F #99BC3F
monochromatic
#202E60 #30448E #3F5ABC #6B80CD #99A7DD

Accessibility & contrast

On white

6.18
#3F5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3F5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F5ABC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5ABC#FFFFFF#000000##FFFFFF
##3F5ABC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3f5abc;
/* rgb */ color: rgb(63, 90, 188);
/* oklch */ color: oklch(50.1% 0.157 268.6);
Tailwind
colors: {
  custom: {
    50: '#8288d1',
    500: '#3f5abc',
    950: '#000000',
  },
}
SCSS
$custom: #3f5abc;
$custom-light: #8288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5abc",
  "rgb": {
    "r": 63,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 227.04,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.15718,
    "h": 268.6
  },
  "luminance": 0.12
}

Semantic roles & 50–950 ramp

primary
#3F5ABC
secondary
#C9BC8E
accent
#BB4ED9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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