#3850AE#3850AE

#3850AE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.152 H 269.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3850AE
RGBrgb(56, 80, 174)
HSLhsl(228, 51%, 45%)
HSVhsv(228, 68%, 68%)
CMYKcmyk(67.8%, 54%, 0%, 31.8%)
CIE-LABlab(37.18, 22.58, -53.04)
CIE-LCHlch(37.18, 57.65, 293.06°)
OKLaboklab(46.69% -0.0027 -0.1525)
OKLCHoklch(46.69% 0.152 269)
XYZxyz(12.1369, 9.6329, 41.2559)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850AE #AE9638
analogous
#388BAE #3850AE #5B38AE
triadic
#3850AE #AE3850 #50AE38
tetradic
#3850AE #AE388B #AE9638 #38AE5B
square
#3850AE #AE388B #AE9638 #38AE5B
split-complementary
#3850AE #AE5B38 #8BAE38
monochromatic
#1A2551 #293B80 #3850AE #5970CA #8898D9

Accessibility & contrast

On white

7.18
#3850AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3850AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3850AE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850AE#FFFFFF#000000##FFFFFF
##3850AE1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5DB1
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3850ae;
/* rgb */ color: rgb(56, 80, 174);
/* oklch */ color: oklch(46.7% 0.152 269.0);
Tailwind
colors: {
  custom: {
    50: '#7c80c7',
    500: '#3850ae',
    950: '#000000',
  },
}
SCSS
$custom: #3850ae;
$custom-light: #7c80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3850ae",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 227.797,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46685,
    "c": 0.15248,
    "h": 269
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#3850AE
secondary
#C3B57F
accent
#BE4DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3850AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3850AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva