#3862A2#3862A2

#3862A2 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 49.8% C 0.113 H 258.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#3862A2
RGBrgb(56, 98, 162)
HSLhsl(216, 49%, 43%)
HSVhsv(216, 65%, 64%)
CMYKcmyk(65.4%, 39.5%, 0%, 36.5%)
CIE-LABlab(41.51, 6.52, -38.98)
CIE-LCHlch(41.51, 39.52, 279.49°)
OKLaboklab(49.76% -0.0224 -0.1109)
OKLCHoklch(49.76% 0.113 258.6)
XYZxyz(12.5178, 12.1836, 35.8674)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862A2 #A27838
analogous
#3897A2 #3862A2 #4338A2
triadic
#3862A2 #A23862 #62A238
tetradic
#3862A2 #A23897 #A27838 #38A243
square
#3862A2 #A23897 #A27838 #38A243
split-complementary
#3862A2 #A24338 #97A238
monochromatic
#192B47 #284675 #3862A2 #5380C4 #81A2D3

Accessibility & contrast

On white

6.11
#3862A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#3862A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3862A2#FFFFFF#000000##FFFFFF
##3862A21.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#365DA1
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3862a2;
/* rgb */ color: rgb(56, 98, 162);
/* oklch */ color: oklch(49.8% 0.113 258.6);
Tailwind
colors: {
  custom: {
    50: '#798ebe',
    500: '#3862a2',
    950: '#000000',
  },
}
SCSS
$custom: #3862a2;
$custom-light: #798ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3862a2",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 162
  },
  "hsl": {
    "h": 216.226,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49756,
    "c": 0.11309,
    "h": 258.6
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#3862A2
secondary
#BDA279
accent
#A250D8
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3862A2

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

Preview Lab → · Contrast checker → · Palette generator →

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