#3854C4#3854C4

#3854C4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.2% C 0.178 H 268.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3854C4
RGBrgb(56, 84, 196)
HSLhsl(228, 56%, 49%)
HSVhsv(228, 71%, 77%)
CMYKcmyk(71.4%, 57.1%, 0%, 23.1%)
CIE-LABlab(39.86, 28.00, -61.60)
CIE-LCHlch(39.86, 67.67, 294.44°)
OKLaboklab(49.21% -0.0049 -0.1776)
OKLCHoklch(49.21% 0.178 268.4)
XYZxyz(14.7616, 11.1654, 53.5910)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854C4 #C4A838
analogous
#389AC4 #3854C4 #6238C4
triadic
#3854C4 #C43854 #54C438
tetradic
#3854C4 #C4389A #C4A838 #38C462
square
#3854C4 #C4389A #C4A838 #38C462
split-complementary
#3854C4 #C46238 #9AC438
monochromatic
#1D2B65 #2A4094 #3854C4 #667CD3 #96A5E1

Accessibility & contrast

On white

6.49
#3854C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3854C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854C4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854C4#FFFFFF#000000##FFFFFF
##3854C41.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3854c4;
/* rgb */ color: rgb(56, 84, 196);
/* oklch */ color: oklch(49.2% 0.178 268.4);
Tailwind
colors: {
  custom: {
    50: '#8183d7',
    500: '#3854c4',
    950: '#000000',
  },
}
SCSS
$custom: #3854c4;
$custom-light: #8183d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3854c4",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 228,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.17765,
    "h": 268.4
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#3854C4
secondary
#CCBF8C
accent
#C149DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3854C4

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

Preview Lab → · Contrast checker → · Palette generator →

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