#3850CB#3850CB

#3850CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.192 H 269.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3850CB
RGBrgb(56, 80, 203)
HSLhsl(230, 59%, 51%)
HSVhsv(230, 72%, 80%)
CMYKcmyk(72.4%, 60.6%, 0%, 20.4%)
CIE-LABlab(39.39, 33.09, -66.42)
CIE-LCHlch(39.39, 74.21, 296.48°)
OKLaboklab(49.04% -0.0019 -0.1918)
OKLCHoklch(49.04% 0.192 269.4)
XYZxyz(15.2753, 10.8883, 57.7849)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3850CB #CBB338
analogous
#3899CB #3850CB #6938CB
triadic
#3850CB #CB3850 #50CB38
tetradic
#3850CB #CB3899 #CBB338 #38CB69
square
#3850CB #CB3899 #CBB338 #38CB69
split-complementary
#3850CB #CB6938 #99CB38
monochromatic
#1C296C #293C9D #3850CB #697BD8 #99A5E4

Accessibility & contrast

On white

6.61
#3850CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3850CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3850CB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3850CB#FFFFFF#000000##FFFFFF
##3850CB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3850cb;
/* rgb */ color: rgb(56, 80, 203);
/* oklch */ color: oklch(49.0% 0.192 269.4);
Tailwind
colors: {
  custom: {
    50: '#8381dc',
    500: '#3850cb',
    950: '#000000',
  },
}
SCSS
$custom: #3850cb;
$custom-light: #8381dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3850cb",
  "rgb": {
    "r": 56,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 230.204,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.19179,
    "h": 269.4
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#3850CB
secondary
#D0C58F
accent
#C846E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3850CB

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

Preview Lab → · Contrast checker → · Palette generator →

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