#3828C7#3828C7

#3828C7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.6% C 0.228 H 275.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3828C7
RGBrgb(56, 40, 199)
HSLhsl(246, 67%, 47%)
HSVhsv(246, 80%, 78%)
CMYKcmyk(71.9%, 79.9%, 0%, 22%)
CIE-LABlab(30.59, 54.75, -78.56)
CIE-LCHlch(30.59, 95.76, 304.87°)
OKLaboklab(42.59% 0.0205 -0.2272)
OKLCHoklch(42.59% 0.228 275.2)
XYZxyz(12.6951, 6.4806, 54.6036)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828C7 #B7C728
analogous
#2867C7 #3828C7 #8828C7
triadic
#3828C7 #C73828 #28C738
tetradic
#3828C7 #C72867 #B7C728 #28C788
square
#3828C7 #C72867 #B7C728 #28C788
split-complementary
#3828C7 #C78828 #67C728
monochromatic
#1B1461 #2A1E94 #3828C7 #5E50DC #8D83E6

Accessibility & contrast

On white

9.14
#3828C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3828C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828C7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828C7#FFFFFF#000000##FFFFFF
##3828C71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCB
Deuteranopia (green-blind)
#0041C4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3828c7;
/* rgb */ color: rgb(56, 40, 199);
/* oklch */ color: oklch(42.6% 0.228 275.2);
Tailwind
colors: {
  custom: {
    50: '#8567d9',
    500: '#3828c7',
    950: '#000000',
  },
}
SCSS
$custom: #3828c7;
$custom-light: #8567d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3828c7",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 246.038,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42589,
    "c": 0.22808,
    "h": 275.2
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#3828C7
secondary
#C7CF7C
accent
#E93ED8
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3828C7

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

Preview Lab → · Contrast checker → · Palette generator →

#3828C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva