#3854BF#3854BF

#3854BF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.8% C 0.171 H 268.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3854BF
RGBrgb(56, 84, 191)
HSLhsl(228, 55%, 48%)
HSVhsv(228, 71%, 75%)
CMYKcmyk(70.7%, 56%, 0%, 25.1%)
CIE-LABlab(39.48, 26.18, -59.30)
CIE-LCHlch(39.48, 64.82, 293.82°)
OKLaboklab(48.81% -0.0051 -0.1708)
OKLCHoklch(48.81% 0.171 268.3)
XYZxyz(14.2019, 10.9416, 50.6436)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854BF #BFA338
analogous
#3897BF #3854BF #6038BF
triadic
#3854BF #BF3854 #54BF38
tetradic
#3854BF #BF3897 #BFA338 #38BF60
square
#3854BF #BF3897 #BFA338 #38BF60
split-complementary
#3854BF #BF6038 #97BF38
monochromatic
#1C2A60 #2A3F90 #3854BF #637AD1 #92A2DF

Accessibility & contrast

On white

6.59
#3854BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3854BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854BF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854BF#FFFFFF#000000##FFFFFF
##3854BF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3854bf;
/* rgb */ color: rgb(56, 84, 191);
/* oklch */ color: oklch(48.8% 0.171 268.3);
Tailwind
colors: {
  custom: {
    50: '#8083d3',
    500: '#3854bf',
    950: '#000000',
  },
}
SCSS
$custom: #3854bf;
$custom-light: #8083d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3854bf",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 227.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.17089,
    "h": 268.3
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#3854BF
secondary
#CABD89
accent
#BF4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3854BF

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

Preview Lab → · Contrast checker → · Palette generator →

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