#3850AF#3850AF

#3850AF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.154 H 269.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#3850AF
RGBrgb(56, 80, 175)
HSLhsl(228, 52%, 45%)
HSVhsv(228, 68%, 69%)
CMYKcmyk(68%, 54.3%, 0%, 31.4%)
CIE-LABlab(37.25, 22.94, -53.52)
CIE-LCHlch(37.25, 58.23, 293.21°)
OKLaboklab(46.76% -0.0027 -0.1539)
OKLCHoklch(46.76% 0.154 269)
XYZxyz(12.2348, 9.6721, 41.7712)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850AF #AF9738
analogous
#388BAF #3850AF #5B38AF
triadic
#3850AF #AF3850 #50AF38
tetradic
#3850AF #AF388B #AF9738 #38AF5B
square
#3850AF #AF388B #AF9738 #38AF5B
split-complementary
#3850AF #AF5B38 #8BAF38
monochromatic
#1A2652 #293B81 #3850AF #5A71CA #8899D9

Accessibility & contrast

On white

7.16
#3850AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3850AF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850AF#FFFFFF#000000##FFFFFF
##3850AF1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3850af;
/* rgb */ color: rgb(56, 80, 175);
/* oklch */ color: oklch(46.8% 0.154 269.0);
Tailwind
colors: {
  custom: {
    50: '#7d80c8',
    500: '#3850af',
    950: '#000000',
  },
}
SCSS
$custom: #3850af;
$custom-light: #7d80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3850af",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 227.899,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46762,
    "c": 0.15388,
    "h": 269
  },
  "luminance": 0.09673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3850AF

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

Preview Lab → · Contrast checker → · Palette generator →

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