#3850BC#3850BC

#3850BC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.172 H 269.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3850BC
RGBrgb(56, 80, 188)
HSLhsl(229, 54%, 48%)
HSVhsv(229, 70%, 74%)
CMYKcmyk(70.2%, 57.4%, 0%, 26.3%)
CIE-LABlab(38.21, 27.67, -59.61)
CIE-LCHlch(38.21, 65.72, 294.90°)
OKLaboklab(47.79% -0.002 -0.1718)
OKLCHoklch(47.79% 0.172 269.3)
XYZxyz(13.5735, 10.2076, 48.8221)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850BC #BCA438
analogous
#3892BC #3850BC #6238BC
triadic
#3850BC #BC3850 #50BC38
tetradic
#3850BC #BC3892 #BCA438 #38BC62
square
#3850BC #BC3892 #BCA438 #38BC62
split-complementary
#3850BC #BC6238 #92BC38
monochromatic
#1C285E #2A3C8D #3850BC #6175D0 #909EDE

Accessibility & contrast

On white

6.90
#3850BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3850BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850BC
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850BC#FFFFFF#000000##FFFFFF
##3850BC1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3850bc;
/* rgb */ color: rgb(56, 80, 188);
/* oklch */ color: oklch(47.8% 0.172 269.3);
Tailwind
colors: {
  custom: {
    50: '#7f80d1',
    500: '#3850bc',
    950: '#000000',
  },
}
SCSS
$custom: #3850bc;
$custom-light: #7f80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3850bc",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 229.091,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4779,
    "c": 0.17178,
    "h": 269.3
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#3850BC
secondary
#C9BD87
accent
#C34ADD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3850BC

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

Preview Lab → · Contrast checker → · Palette generator →

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