#3854AE#3854AE

#3854AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.147 H 267.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#3854AE
RGBrgb(56, 84, 174)
HSLhsl(226, 51%, 45%)
HSVhsv(226, 68%, 68%)
CMYKcmyk(67.8%, 51.7%, 0%, 31.8%)
CIE-LABlab(38.26, 19.96, -51.28)
CIE-LCHlch(38.26, 55.03, 291.27°)
OKLaboklab(47.51% -0.0064 -0.1472)
OKLCHoklch(47.51% 0.147 267.5)
XYZxyz(12.4386, 10.2362, 41.3565)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854AE #AE9238
analogous
#388FAE #3854AE #5738AE
triadic
#3854AE #AE3854 #54AE38
tetradic
#3854AE #AE388F #AE9238 #38AE57
square
#3854AE #AE388F #AE9238 #38AE57
split-complementary
#3854AE #AE5738 #8FAE38
monochromatic
#1A2751 #293E80 #3854AE #5974CA #889BD9

Accessibility & contrast

On white

6.89
#3854AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3854AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854AE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854AE#FFFFFF#000000##FFFFFF
##3854AE1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3854ae;
/* rgb */ color: rgb(56, 84, 174);
/* oklch */ color: oklch(47.5% 0.147 267.5);
Tailwind
colors: {
  custom: {
    50: '#7c83c7',
    500: '#3854ae',
    950: '#000000',
  },
}
SCSS
$custom: #3854ae;
$custom-light: #7c83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3854ae",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 225.763,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47507,
    "c": 0.14737,
    "h": 267.5
  },
  "luminance": 0.10237
}

Semantic roles & 50–950 ramp

primary
#3854AE
secondary
#C3B37F
accent
#B94DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3854AE

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

Preview Lab → · Contrast checker → · Palette generator →

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