#3865BA#3865BA

#3865BA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.0% C 0.143 H 261.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#3865BA
RGBrgb(56, 101, 186)
HSLhsl(219, 54%, 47%)
HSVhsv(219, 70%, 73%)
CMYKcmyk(69.9%, 45.7%, 0%, 27.1%)
CIE-LABlab(43.79, 13.36, -49.44)
CIE-LCHlch(43.79, 51.21, 285.12°)
OKLaboklab(51.98% -0.0205 -0.1415)
OKLCHoklch(51.98% 0.143 261.8)
XYZxyz(15.1443, 13.6917, 48.2895)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3865BA #BA8D38
analogous
#38A6BA #3865BA #4C38BA
triadic
#3865BA #BA3865 #65BA38
tetradic
#3865BA #BA38A6 #BA8D38 #38BA4C
square
#3865BA #BA38A6 #BA8D38 #38BA4C
split-complementary
#3865BA #BA4C38 #A6BA38
monochromatic
#1C325C #2A4B8B #3865BA #6087CF #8FAADD

Accessibility & contrast

On white

5.62
#3865BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3865BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3865BA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3865BA#FFFFFF#000000##FFFFFF
##3865BA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#2062B8
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3865ba;
/* rgb */ color: rgb(56, 101, 186);
/* oklch */ color: oklch(52.0% 0.143 261.8);
Tailwind
colors: {
  custom: {
    50: '#7e90cf',
    500: '#3865ba',
    950: '#000000',
  },
}
SCSS
$custom: #3865ba;
$custom-light: #7e90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3865ba",
  "rgb": {
    "r": 56,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 219.231,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51977,
    "c": 0.14301,
    "h": 261.8
  },
  "luminance": 0.13693
}

Semantic roles & 50–950 ramp

primary
#3865BA
secondary
#C8B186
accent
#AA4BDD
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3865BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3865BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva