#3854C9#3854C9

#3854C9 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.184 H 268.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3854C9
RGBrgb(56, 84, 201)
HSLhsl(228, 57%, 50%)
HSVhsv(228, 72%, 79%)
CMYKcmyk(72.1%, 58.2%, 0%, 21.2%)
CIE-LABlab(40.24, 29.81, -63.88)
CIE-LCHlch(40.24, 70.49, 295.02°)
OKLaboklab(49.62% -0.0048 -0.1843)
OKLCHoklch(49.62% 0.184 268.5)
XYZxyz(15.3402, 11.3969, 56.6384)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854C9 #C9AD38
analogous
#389CC9 #3854C9 #6538C9
triadic
#3854C9 #C93854 #54C938
tetradic
#3854C9 #C9389C #C9AD38 #38C965
square
#3854C9 #C9389C #C9AD38 #38C965
split-complementary
#3854C9 #C96538 #9CC938
monochromatic
#1D2C6A #2A3F9A #3854C9 #687DD6 #98A7E3

Accessibility & contrast

On white

6.40
#3854C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3854C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854C9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854C9#FFFFFF#000000##FFFFFF
##3854C91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CD
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3854c9;
/* rgb */ color: rgb(56, 84, 201);
/* oklch */ color: oklch(49.6% 0.184 268.5);
Tailwind
colors: {
  custom: {
    50: '#8283da',
    500: '#3854c9',
    950: '#000000',
  },
}
SCSS
$custom: #3854c9;
$custom-light: #8283da;
$custom-dark: #000000;
JSON
{
  "hex": "#3854c9",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 201
  },
  "hsl": {
    "h": 228.414,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49619,
    "c": 0.18433,
    "h": 268.5
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#3854C9
secondary
#CFC28E
accent
#C347E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3854C9

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

Preview Lab → · Contrast checker → · Palette generator →

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