#3854AA#3854AA

#3854AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.142 H 267.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3854AA
RGBrgb(56, 84, 170)
HSLhsl(225, 50%, 44%)
HSVhsv(225, 67%, 67%)
CMYKcmyk(67.1%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.99, 18.50, -49.35)
CIE-LCHlch(37.99, 52.70, 290.54°)
OKLaboklab(47.21% -0.0068 -0.1415)
OKLCHoklch(47.21% 0.142 267.2)
XYZxyz(12.0544, 10.0825, 39.3333)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3854AA #AA8E38
analogous
#388DAA #3854AA #5538AA
triadic
#3854AA #AA3854 #54AA38
tetradic
#3854AA #AA388D #AA8E38 #38AA55
square
#3854AA #AA388D #AA8E38 #38AA55
split-complementary
#3854AA #AA5538 #8DAA38
monochromatic
#1A274E #293D7C #3854AA #5773C8 #8599D7

Accessibility & contrast

On white

6.96
#3854AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3854AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3854AA#FFFFFF#000000##FFFFFF
##3854AA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3854aa;
/* rgb */ color: rgb(56, 84, 170);
/* oklch */ color: oklch(47.2% 0.142 267.2);
Tailwind
colors: {
  custom: {
    50: '#7b83c4',
    500: '#3854aa',
    950: '#000000',
  },
}
SCSS
$custom: #3854aa;
$custom-light: #7b83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3854aa",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 225.263,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.1417,
    "h": 267.2
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#3854AA
secondary
#C1B07D
accent
#B84EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3854AA

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

Preview Lab → · Contrast checker → · Palette generator →

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