#3854C3#3854C3

#3854C3 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.1% C 0.176 H 268.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#3854C3
RGBrgb(56, 84, 195)
HSLhsl(228, 55%, 49%)
HSVhsv(228, 71%, 76%)
CMYKcmyk(71.3%, 56.9%, 0%, 23.5%)
CIE-LABlab(39.78, 27.63, -61.14)
CIE-LCHlch(39.78, 67.10, 294.32°)
OKLaboklab(49.13% -0.005 -0.1762)
OKLCHoklch(49.13% 0.176 268.4)
XYZxyz(14.6481, 11.1200, 52.9936)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854C3 #C3A738
analogous
#3899C3 #3854C3 #6238C3
triadic
#3854C3 #C33854 #54C338
tetradic
#3854C3 #C33899 #C3A738 #38C362
square
#3854C3 #C33899 #C3A738 #38C362
split-complementary
#3854C3 #C36238 #99C338
monochromatic
#1D2B64 #2A4093 #3854C3 #657BD3 #95A4E1

Accessibility & contrast

On white

6.51
#3854C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3854C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854C3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854C3#FFFFFF#000000##FFFFFF
##3854C31.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3854c3;
/* rgb */ color: rgb(56, 84, 195);
/* oklch */ color: oklch(49.1% 0.176 268.4);
Tailwind
colors: {
  custom: {
    50: '#8183d6',
    500: '#3854c3',
    950: '#000000',
  },
}
SCSS
$custom: #3854c3;
$custom-light: #8183d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3854c3",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 227.914,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49132,
    "c": 0.1763,
    "h": 268.4
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3854C3

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

Preview Lab → · Contrast checker → · Palette generator →

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