#3862AA#3862AA

#3862AA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.124 H 260.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3862AA
RGBrgb(56, 98, 170)
HSLhsl(218, 50%, 44%)
HSVhsv(218, 67%, 67%)
CMYKcmyk(67.1%, 42.4%, 0%, 33.3%)
CIE-LABlab(41.96, 9.42, -42.98)
CIE-LCHlch(41.96, 44.00, 282.36°)
OKLaboklab(50.26% -0.0206 -0.1226)
OKLCHoklch(50.26% 0.124 260.5)
XYZxyz(13.2517, 12.4771, 39.7324)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862AA #AA8038
analogous
#389BAA #3862AA #4738AA
triadic
#3862AA #AA3862 #62AA38
tetradic
#3862AA #AA389B #AA8038 #38AA47
square
#3862AA #AA389B #AA8038 #38AA47
split-complementary
#3862AA #AA4738 #9BAA38
monochromatic
#1A2D4E #29477C #3862AA #5781C8 #85A3D7

Accessibility & contrast

On white

6.01
#3862AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3862AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3862AA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3862AA#FFFFFF#000000##FFFFFF
##3862AA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3862aa;
/* rgb */ color: rgb(56, 98, 170);
/* oklch */ color: oklch(50.3% 0.124 260.5);
Tailwind
colors: {
  custom: {
    50: '#7b8ec4',
    500: '#3862aa',
    950: '#000000',
  },
}
SCSS
$custom: #3862aa;
$custom-light: #7b8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3862aa",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 217.895,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.12432,
    "h": 260.5
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#3862AA
secondary
#C1A87D
accent
#A64EDA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3862AA

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

Preview Lab → · Contrast checker → · Palette generator →

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