#3850A2#3850A2

#3850A2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.135 H 268.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#3850A2
RGBrgb(56, 80, 162)
HSLhsl(226, 49%, 43%)
HSVhsv(226, 65%, 64%)
CMYKcmyk(65.4%, 50.6%, 0%, 36.5%)
CIE-LABlab(36.34, 18.20, -47.24)
CIE-LCHlch(36.34, 50.63, 291.07°)
OKLaboklab(45.79% -0.0039 -0.1354)
OKLCHoklch(45.79% 0.135 268.4)
XYZxyz(11.0189, 9.1857, 35.3677)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850A2 #A28A38
analogous
#3885A2 #3850A2 #5538A2
triadic
#3850A2 #A23850 #50A238
tetradic
#3850A2 #A23885 #A28A38 #38A255
square
#3850A2 #A23885 #A28A38 #38A255
split-complementary
#3850A2 #A25538 #85A238
monochromatic
#192347 #283A75 #3850A2 #536DC4 #8194D3

Accessibility & contrast

On white

7.40
#3850A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3850A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3850A2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850A2#FFFFFF#000000##FFFFFF
##3850A21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#0451A0
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3850a2;
/* rgb */ color: rgb(56, 80, 162);
/* oklch */ color: oklch(45.8% 0.135 268.4);
Tailwind
colors: {
  custom: {
    50: '#7a80be',
    500: '#3850a2',
    950: '#000000',
  },
}
SCSS
$custom: #3850a2;
$custom-light: #7a80be;
$custom-dark: #000000;
JSON
{
  "hex": "#3850a2",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 226.415,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45786,
    "c": 0.13545,
    "h": 268.4
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#3850A2
secondary
#BDAE79
accent
#B950D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3850A2

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

Preview Lab → · Contrast checker → · Palette generator →

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