#3862AE#3862AE

#3862AE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.5% C 0.130 H 261.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#3862AE
RGBrgb(56, 98, 174)
HSLhsl(219, 51%, 45%)
HSVhsv(219, 68%, 68%)
CMYKcmyk(67.8%, 43.7%, 0%, 31.8%)
CIE-LABlab(42.20, 10.88, -44.96)
CIE-LCHlch(42.20, 46.26, 283.60°)
OKLaboklab(50.52% -0.0198 -0.1284)
OKLCHoklch(50.52% 0.13 261.2)
XYZxyz(13.6358, 12.6308, 41.7556)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862AE #AE8438
analogous
#389DAE #3862AE #4938AE
triadic
#3862AE #AE3862 #62AE38
tetradic
#3862AE #AE389D #AE8438 #38AE49
square
#3862AE #AE389D #AE8438 #38AE49
split-complementary
#3862AE #AE4938 #9DAE38
monochromatic
#1A2E51 #294880 #3862AE #5981CA #88A5D9

Accessibility & contrast

On white

5.96
#3862AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3862AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3862AE#FFFFFF#000000##FFFFFF
##3862AE1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69B1
Deuteranopia (green-blind)
#2A5FAC
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3862ae;
/* rgb */ color: rgb(56, 98, 174);
/* oklch */ color: oklch(50.5% 0.130 261.2);
Tailwind
colors: {
  custom: {
    50: '#7c8ec6',
    500: '#3862ae',
    950: '#000000',
  },
}
SCSS
$custom: #3862ae;
$custom-light: #7c8ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3862ae",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 218.644,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.12992,
    "h": 261.2
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#3862AE
secondary
#C3AB7F
accent
#A84DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3862AE

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

Preview Lab → · Contrast checker → · Palette generator →

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