#3850BF#3850BF

#3850BF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.176 H 269.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3850BF
RGBrgb(56, 80, 191)
HSLhsl(229, 55%, 48%)
HSVhsv(229, 71%, 75%)
CMYKcmyk(70.7%, 58.1%, 0%, 25.1%)
CIE-LABlab(38.44, 28.76, -60.99)
CIE-LCHlch(38.44, 67.43, 295.25°)
OKLaboklab(48.04% -0.002 -0.1758)
OKLCHoklch(48.04% 0.176 269.4)
XYZxyz(13.9003, 10.3383, 50.5430)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850BF #BFA738
analogous
#3893BF #3850BF #6338BF
triadic
#3850BF #BF3850 #50BF38
tetradic
#3850BF #BF3893 #BFA738 #38BF63
square
#3850BF #BF3893 #BFA738 #38BF63
split-complementary
#3850BF #BF6338 #93BF38
monochromatic
#1C2860 #2A3C90 #3850BF #6377D1 #92A0DF

Accessibility & contrast

On white

6.84
#3850BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3850BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850BF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850BF#FFFFFF#000000##FFFFFF
##3850BF1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3850bf;
/* rgb */ color: rgb(56, 80, 191);
/* oklch */ color: oklch(48.0% 0.176 269.4);
Tailwind
colors: {
  custom: {
    50: '#8080d3',
    500: '#3850bf',
    950: '#000000',
  },
}
SCSS
$custom: #3850bf;
$custom-light: #8080d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3850bf",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 229.333,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48035,
    "c": 0.17584,
    "h": 269.4
  },
  "luminance": 0.1034
}

Semantic roles & 50–950 ramp

primary
#3850BF
secondary
#CABF89
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3850BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3850BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva