#3830AC#3830AC

#3830AC is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.189 H 276.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#3830AC
RGBrgb(56, 48, 172)
HSLhsl(244, 56%, 43%)
HSVhsv(244, 72%, 67%)
CMYKcmyk(67.4%, 72.1%, 0%, 32.5%)
CIE-LABlab(29.24, 42.07, -64.80)
CIE-LCHlch(29.24, 77.26, 302.99°)
OKLaboklab(40.8% 0.0225 -0.1872)
OKLCHoklch(40.8% 0.189 276.9)
XYZxyz(10.1318, 5.9323, 39.6328)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830AC #A4AC30
analogous
#3066AC #3830AC #7630AC
triadic
#3830AC #AC3830 #30AC38
tetradic
#3830AC #AC3066 #A4AC30 #30AC76
square
#3830AC #AC3066 #A4AC30 #30AC76
split-complementary
#3830AC #AC7630 #66AC30
monochromatic
#19154C #28237C #3830AC #544CCD #827CDA

Accessibility & contrast

On white

9.60
#3830AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3830AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830AC
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830AC#FFFFFF#000000##FFFFFF
##3830AC1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3830ac;
/* rgb */ color: rgb(56, 48, 172);
/* oklch */ color: oklch(40.8% 0.189 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e6ac6',
    500: '#3830ac',
    950: '#000000',
  },
}
SCSS
$custom: #3830ac;
$custom-light: #7e6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3830ac",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 243.871,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.18852,
    "h": 276.9
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#3830AC
secondary
#BEC375
accent
#E048D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3830AC

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

Preview Lab → · Contrast checker → · Palette generator →

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