#3858BF#3858BF

#3858BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.166 H 267.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#3858BF
RGBrgb(56, 88, 191)
HSLhsl(226, 55%, 48%)
HSVhsv(226, 71%, 75%)
CMYKcmyk(70.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(40.54, 23.58, -57.58)
CIE-LCHlch(40.54, 62.23, 292.27°)
OKLaboklab(49.61% -0.0084 -0.1657)
OKLCHoklch(49.61% 0.166 267.1)
XYZxyz(14.5213, 11.5803, 50.7500)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858BF #BF9F38
analogous
#389BBF #3858BF #5B38BF
triadic
#3858BF #BF3858 #58BF38
tetradic
#3858BF #BF389B #BF9F38 #38BF5B
square
#3858BF #BF389B #BF9F38 #38BF5B
split-complementary
#3858BF #BF5B38 #9BBF38
monochromatic
#1C2C60 #2A4290 #3858BF #637DD1 #92A4DF

Accessibility & contrast

On white

6.33
#3858BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#3858BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858BF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858BF#FFFFFF#000000##FFFFFF
##3858BF1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3858bf;
/* rgb */ color: rgb(56, 88, 191);
/* oklch */ color: oklch(49.6% 0.166 267.1);
Tailwind
colors: {
  custom: {
    50: '#7f86d3',
    500: '#3858bf',
    950: '#000000',
  },
}
SCSS
$custom: #3858bf;
$custom-light: #7f86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3858bf",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 225.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4961,
    "c": 0.16591,
    "h": 267.1
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#3858BF
secondary
#CABB89
accent
#BB4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #3858BF

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

Preview Lab → · Contrast checker → · Palette generator →

#3858BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva