#3830C4#3830C4

#3830C4 is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.2% C 0.218 H 274.7°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3830C4
RGBrgb(56, 48, 196)
HSLhsl(243, 61%, 48%)
HSVhsv(243, 76%, 77%)
CMYKcmyk(71.4%, 75.5%, 0%, 23.1%)
CIE-LABlab(31.67, 49.81, -75.03)
CIE-LCHlch(31.67, 90.06, 303.58°)
OKLaboklab(43.25% 0.0178 -0.217)
OKLCHoklch(43.25% 0.218 274.7)
XYZxyz(12.6483, 6.9389, 52.8866)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830C4 #BCC430
analogous
#3072C4 #3830C4 #8230C4
triadic
#3830C4 #C43830 #30C438
tetradic
#3830C4 #C43072 #BCC430 #30C482
square
#3830C4 #C43072 #BCC430 #30C482
split-complementary
#3830C4 #C48230 #72C430
monochromatic
#1C1862 #2A2493 #3830C4 #615AD7 #908CE3

Accessibility & contrast

On white

8.79
#3830C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3830C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830C4
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830C4#FFFFFF#000000##FFFFFF
##3830C41.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C8
Deuteranopia (green-blind)
#0044C1
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3830c4;
/* rgb */ color: rgb(56, 48, 196);
/* oklch */ color: oklch(43.2% 0.218 274.7);
Tailwind
colors: {
  custom: {
    50: '#846bd7',
    500: '#3830c4',
    950: '#000000',
  },
}
SCSS
$custom: #3830c4;
$custom-light: #846bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3830c4",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 243.243,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43246,
    "c": 0.21772,
    "h": 274.7
  },
  "luminance": 0.0694
}

Semantic roles & 50–950 ramp

primary
#3830C4
secondary
#C9CD83
accent
#E444DB
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3830C4

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

Preview Lab → · Contrast checker → · Palette generator →

#3830C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva