#3830B2#3830B2

#3830B2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.196 H 276.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3830B2
RGBrgb(56, 48, 178)
HSLhsl(244, 58%, 44%)
HSVhsv(244, 73%, 70%)
CMYKcmyk(68.5%, 73%, 0%, 30.2%)
CIE-LABlab(29.83, 44.03, -67.41)
CIE-LCHlch(29.83, 80.52, 303.15°)
OKLaboklab(41.4% 0.0214 -0.1948)
OKLCHoklch(41.4% 0.196 276.3)
XYZxyz(10.7211, 6.1680, 42.7364)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830B2 #AAB230
analogous
#3069B2 #3830B2 #7930B2
triadic
#3830B2 #B23830 #30B238
tetradic
#3830B2 #B23069 #AAB230 #30B279
square
#3830B2 #B23069 #AAB230 #30B279
split-complementary
#3830B2 #B27930 #69B230
monochromatic
#1A1652 #292382 #3830B2 #5750D0 #8580DD

Accessibility & contrast

On white

9.40
#3830B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3830B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830B2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830B2#FFFFFF#000000##FFFFFF
##3830B21.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3830b2;
/* rgb */ color: rgb(56, 48, 178);
/* oklch */ color: oklch(41.4% 0.196 276.3);
Tailwind
colors: {
  custom: {
    50: '#806aca',
    500: '#3830b2',
    950: '#000000',
  },
}
SCSS
$custom: #3830b2;
$custom-light: #806aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3830b2",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 243.692,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41398,
    "c": 0.19597,
    "h": 276.3
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

primary
#3830B2
secondary
#C1C678
accent
#E147D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3830B2

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

Preview Lab → · Contrast checker → · Palette generator →

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