#3850BA#3850BA

#3850BA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.169 H 269.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3850BA
RGBrgb(56, 80, 186)
HSLhsl(229, 54%, 47%)
HSVhsv(229, 70%, 73%)
CMYKcmyk(69.9%, 57%, 0%, 27.1%)
CIE-LABlab(38.06, 26.95, -58.68)
CIE-LCHlch(38.06, 64.58, 294.67°)
OKLaboklab(47.63% -0.0021 -0.169)
OKLCHoklch(47.63% 0.169 269.3)
XYZxyz(13.3594, 10.1219, 47.6945)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850BA #BAA238
analogous
#3891BA #3850BA #6138BA
triadic
#3850BA #BA3850 #50BA38
tetradic
#3850BA #BA3891 #BAA238 #38BA61
square
#3850BA #BA3891 #BAA238 #38BA61
split-complementary
#3850BA #BA6138 #91BA38
monochromatic
#1C285C #2A3C8B #3850BA #6075CF #8F9EDD

Accessibility & contrast

On white

6.94
#3850BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3850BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850BA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850BA#FFFFFF#000000##FFFFFF
##3850BA1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3850ba;
/* rgb */ color: rgb(56, 80, 186);
/* oklch */ color: oklch(47.6% 0.169 269.3);
Tailwind
colors: {
  custom: {
    50: '#7f80d0',
    500: '#3850ba',
    950: '#000000',
  },
}
SCSS
$custom: #3850ba;
$custom-light: #7f80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3850ba",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 228.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.16906,
    "h": 269.3
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#3850BA
secondary
#C8BC86
accent
#C24BDD
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3850BA

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

Preview Lab → · Contrast checker → · Palette generator →

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