#3830A2#3830A2

#3830A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.176 H 277.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3830A2
RGBrgb(56, 48, 162)
HSLhsl(244, 54%, 41%)
HSVhsv(244, 70%, 64%)
CMYKcmyk(65.4%, 70.4%, 0%, 36.5%)
CIE-LABlab(28.28, 38.77, -60.35)
CIE-LCHlch(28.28, 71.73, 302.72°)
OKLaboklab(39.82% 0.0242 -0.1742)
OKLCHoklch(39.82% 0.176 277.9)
XYZxyz(9.2073, 5.5625, 34.7639)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830A2 #9AA230
analogous
#3061A2 #3830A2 #7130A2
triadic
#3830A2 #A23830 #30A238
tetradic
#3830A2 #A23061 #9AA230 #30A271
square
#3830A2 #A23061 #9AA230 #30A271
split-complementary
#3830A2 #A27130 #61A230
monochromatic
#171444 #282273 #3830A2 #5047C8 #7D76D6

Accessibility & contrast

On white

9.94
#3830A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3830A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830A2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830A2#FFFFFF#000000##FFFFFF
##3830A21.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3830a2;
/* rgb */ color: rgb(56, 48, 162);
/* oklch */ color: oklch(39.8% 0.176 277.9);
Tailwind
colors: {
  custom: {
    50: '#7c69bf',
    500: '#3830a2',
    950: '#000000',
  },
}
SCSS
$custom: #3830a2;
$custom-light: #7c69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3830a2",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 244.211,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.3982,
    "c": 0.17584,
    "h": 277.9
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#3830A2
secondary
#B9BE6F
accent
#DE4AD3
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3830A2

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

Preview Lab → · Contrast checker → · Palette generator →

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