#3854C2#3854C2

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

Color values

HEX#3854C2
RGBrgb(56, 84, 194)
HSLhsl(228, 55%, 49%)
HSVhsv(228, 71%, 76%)
CMYKcmyk(71.1%, 56.7%, 0%, 23.9%)
CIE-LABlab(39.71, 27.27, -60.69)
CIE-LCHlch(39.71, 66.53, 294.20°)
OKLaboklab(49.05% -0.005 -0.1749)
OKLCHoklch(49.05% 0.175 268.4)
XYZxyz(14.5355, 11.0750, 52.4001)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854C2 #C2A638
analogous
#3899C2 #3854C2 #6138C2
triadic
#3854C2 #C23854 #54C238
tetradic
#3854C2 #C23899 #C2A638 #38C261
square
#3854C2 #C23899 #C2A638 #38C261
split-complementary
#3854C2 #C26138 #99C238
monochromatic
#1D2B63 #2A3F93 #3854C2 #657BD2 #94A4E0

Accessibility & contrast

On white

6.53
#3854C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3854C2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854C2#FFFFFF#000000##FFFFFF
##3854C21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3854c2;
/* rgb */ color: rgb(56, 84, 194);
/* oklch */ color: oklch(49.1% 0.175 268.4);
Tailwind
colors: {
  custom: {
    50: '#8083d5',
    500: '#3854c2',
    950: '#000000',
  },
}
SCSS
$custom: #3854c2;
$custom-light: #8083d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3854c2",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 227.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.17495,
    "h": 268.4
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#3854C2
secondary
#CBBE8A
accent
#C049DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3854C2

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

Preview Lab → · Contrast checker → · Palette generator →

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