#3858A8#3858A8

#3858A8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.134 H 265.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3858A8
RGBrgb(56, 88, 168)
HSLhsl(223, 50%, 44%)
HSVhsv(223, 67%, 66%)
CMYKcmyk(66.7%, 47.6%, 0%, 34.1%)
CIE-LABlab(38.98, 15.15, -46.58)
CIE-LCHlch(38.98, 48.98, 288.02°)
OKLaboklab(47.92% -0.011 -0.1333)
OKLCHoklch(47.92% 0.134 265.3)
XYZxyz(12.1860, 10.6462, 38.4509)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858A8 #A88838
analogous
#3890A8 #3858A8 #5038A8
triadic
#3858A8 #A83858 #58A838
tetradic
#3858A8 #A83890 #A88838 #38A850
square
#3858A8 #A83890 #A88838 #38A850
split-complementary
#3858A8 #A85038 #90A838
monochromatic
#19284C #29407A #3858A8 #5677C7 #849CD6

Accessibility & contrast

On white

6.71
#3858A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3858A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858A8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858A8#FFFFFF#000000##FFFFFF
##3858A81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F61AB
Deuteranopia (green-blind)
#1857A6
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3858a8;
/* rgb */ color: rgb(56, 88, 168);
/* oklch */ color: oklch(47.9% 0.134 265.3);
Tailwind
colors: {
  custom: {
    50: '#7b86c2',
    500: '#3858a8',
    950: '#000000',
  },
}
SCSS
$custom: #3858a8;
$custom-light: #7b86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3858a8",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 168
  },
  "hsl": {
    "h": 222.857,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.13377,
    "h": 265.3
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#3858A8
secondary
#C0AC7C
accent
#B24EDA
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3858A8

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

Preview Lab → · Contrast checker → · Palette generator →

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