#3854B8#3854B8

#3854B8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.161 H 268.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3854B8
RGBrgb(56, 84, 184)
HSLhsl(227, 53%, 47%)
HSVhsv(227, 70%, 72%)
CMYKcmyk(69.6%, 54.3%, 0%, 27.8%)
CIE-LABlab(38.97, 23.62, -56.04)
CIE-LCHlch(38.97, 60.81, 292.86°)
OKLaboklab(48.26% -0.0055 -0.1612)
OKLCHoklch(48.26% 0.161 268)
XYZxyz(13.4500, 10.6408, 46.6832)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854B8 #B89C38
analogous
#3894B8 #3854B8 #5C38B8
triadic
#3854B8 #B83854 #54B838
tetradic
#3854B8 #B83894 #B89C38 #38B85C
square
#3854B8 #B83894 #B89C38 #38B85C
split-complementary
#3854B8 #B85C38 #94B838
monochromatic
#1B295A #2A3F89 #3854B8 #5F77CE #8E9FDD

Accessibility & contrast

On white

6.71
#3854B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3854B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3854B8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3854B8#FFFFFF#000000##FFFFFF
##3854B81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3854b8;
/* rgb */ color: rgb(56, 84, 184);
/* oklch */ color: oklch(48.3% 0.161 268.0);
Tailwind
colors: {
  custom: {
    50: '#7e83ce',
    500: '#3854b8',
    950: '#000000',
  },
}
SCSS
$custom: #3854b8;
$custom-light: #7e83ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3854b8",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 184
  },
  "hsl": {
    "h": 226.875,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48264,
    "c": 0.16131,
    "h": 268
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#3854B8
secondary
#C7B985
accent
#BD4BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3854B8

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

Preview Lab → · Contrast checker → · Palette generator →

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