#3854BC#3854BC

#3854BC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.167 H 268.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3854BC
RGBrgb(56, 84, 188)
HSLhsl(227, 54%, 48%)
HSVhsv(227, 70%, 74%)
CMYKcmyk(70.2%, 55.3%, 0%, 26.3%)
CIE-LABlab(39.26, 25.08, -57.91)
CIE-LCHlch(39.26, 63.11, 293.42°)
OKLaboklab(48.58% -0.0053 -0.1667)
OKLCHoklch(48.58% 0.167 268.2)
XYZxyz(13.8752, 10.8108, 48.9227)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854BC #BCA038
analogous
#3896BC #3854BC #5E38BC
triadic
#3854BC #BC3854 #54BC38
tetradic
#3854BC #BC3896 #BCA038 #38BC5E
square
#3854BC #BC3896 #BCA038 #38BC5E
split-complementary
#3854BC #BC5E38 #96BC38
monochromatic
#1C2A5E #2A3F8D #3854BC #6179D0 #90A1DE

Accessibility & contrast

On white

6.64
#3854BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3854BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854BC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854BC#FFFFFF#000000##FFFFFF
##3854BC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3854bc;
/* rgb */ color: rgb(56, 84, 188);
/* oklch */ color: oklch(48.6% 0.167 268.2);
Tailwind
colors: {
  custom: {
    50: '#7f83d1',
    500: '#3854bc',
    950: '#000000',
  },
}
SCSS
$custom: #3854bc;
$custom-light: #7f83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3854bc",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 227.273,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48576,
    "c": 0.1668,
    "h": 268.2
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#3854BC
secondary
#C9BB87
accent
#BE4ADD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3854BC

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

Preview Lab → · Contrast checker → · Palette generator →

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