#3858AC#3858AC

#3858AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.139 H 265.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3858AC
RGBrgb(56, 88, 172)
HSLhsl(223, 51%, 45%)
HSVhsv(223, 67%, 67%)
CMYKcmyk(67.4%, 48.8%, 0%, 32.5%)
CIE-LABlab(39.24, 16.61, -48.53)
CIE-LCHlch(39.24, 51.30, 288.90°)
OKLaboklab(48.21% -0.0104 -0.1391)
OKLCHoklch(48.21% 0.139 265.7)
XYZxyz(12.5644, 10.7975, 40.4437)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858AC #AC8C38
analogous
#3892AC #3858AC #5238AC
triadic
#3858AC #AC3858 #58AC38
tetradic
#3858AC #AC3892 #AC8C38 #38AC52
square
#3858AC #AC3892 #AC8C38 #38AC52
split-complementary
#3858AC #AC5238 #92AC38
monochromatic
#1A2950 #29407E #3858AC #5877C9 #879DD8

Accessibility & contrast

On white

6.65
#3858AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3858AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858AC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858AC#FFFFFF#000000##FFFFFF
##3858AC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#0E57AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3858ac;
/* rgb */ color: rgb(56, 88, 172);
/* oklch */ color: oklch(48.2% 0.139 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c86c5',
    500: '#3858ac',
    950: '#000000',
  },
}
SCSS
$custom: #3858ac;
$custom-light: #7c86c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3858ac",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 223.448,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.13945,
    "h": 265.7
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#3858AC
secondary
#C2AF7E
accent
#B34DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #3858AC

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

Preview Lab → · Contrast checker → · Palette generator →

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