#3858B9#3858B9

#3858B9 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.158 H 266.8°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3858B9
RGBrgb(56, 88, 185)
HSLhsl(225, 54%, 47%)
HSVhsv(225, 70%, 73%)
CMYKcmyk(69.7%, 52.4%, 0%, 27.5%)
CIE-LABlab(40.12, 21.38, -54.76)
CIE-LCHlch(40.12, 58.79, 291.33°)
OKLaboklab(49.15% -0.0089 -0.1574)
OKLCHoklch(49.15% 0.158 266.8)
XYZxyz(13.8745, 11.3216, 47.3436)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3858B9 #B99938
analogous
#3899B9 #3858B9 #5838B9
triadic
#3858B9 #B93858 #58B938
tetradic
#3858B9 #B93899 #B99938 #38B958
square
#3858B9 #B93899 #B99938 #38B958
split-complementary
#3858B9 #B95838 #99B938
monochromatic
#1C2B5B #2A428A #3858B9 #5F7BCF #8EA2DD

Accessibility & contrast

On white

6.43
#3858B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3858B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3858B9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3858B9#FFFFFF#000000##FFFFFF
##3858B91.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1865BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3858b9;
/* rgb */ color: rgb(56, 88, 185);
/* oklch */ color: oklch(49.2% 0.158 266.8);
Tailwind
colors: {
  custom: {
    50: '#7e86cf',
    500: '#3858b9',
    950: '#000000',
  },
}
SCSS
$custom: #3858b9;
$custom-light: #7e86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3858b9",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 185
  },
  "hsl": {
    "h": 225.116,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49154,
    "c": 0.15766,
    "h": 266.8
  },
  "luminance": 0.11323
}

Semantic roles & 50–950 ramp

primary
#3858B9
secondary
#C8B785
accent
#B94BDD
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3858B9

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

Preview Lab → · Contrast checker → · Palette generator →

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