#3862AF#3862AF

#3862AF is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.131 H 261.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3862AF
RGBrgb(56, 98, 175)
HSLhsl(219, 52%, 45%)
HSVhsv(219, 68%, 69%)
CMYKcmyk(68%, 44%, 0%, 31.4%)
CIE-LABlab(42.26, 11.25, -45.45)
CIE-LCHlch(42.26, 46.82, 283.90°)
OKLaboklab(50.59% -0.0196 -0.1298)
OKLCHoklch(50.59% 0.131 261.4)
XYZxyz(13.7337, 12.6699, 42.2709)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3862AF #AF8538
analogous
#389DAF #3862AF #4A38AF
triadic
#3862AF #AF3862 #62AF38
tetradic
#3862AF #AF389D #AF8538 #38AF4A
square
#3862AF #AF389D #AF8538 #38AF4A
split-complementary
#3862AF #AF4A38 #9DAF38
monochromatic
#1A2E52 #294881 #3862AF #5A82CA #88A5D9

Accessibility & contrast

On white

5.94
#3862AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3862AF#FFFFFF#000000##FFFFFF
##3862AF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#295FAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3862af;
/* rgb */ color: rgb(56, 98, 175);
/* oklch */ color: oklch(50.6% 0.131 261.4);
Tailwind
colors: {
  custom: {
    50: '#7c8ec7',
    500: '#3862af',
    950: '#000000',
  },
}
SCSS
$custom: #3862af;
$custom-light: #7c8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3862af",
  "rgb": {
    "r": 56,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 218.824,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50585,
    "c": 0.13132,
    "h": 261.4
  },
  "luminance": 0.12671
}

Semantic roles & 50–950 ramp

primary
#3862AF
secondary
#C3AB80
accent
#A94DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3862AF

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

Preview Lab → · Contrast checker → · Palette generator →

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