#3830B7#3830B7

#3830B7 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 41.9% C 0.202 H 275.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3830B7
RGBrgb(56, 48, 183)
HSLhsl(244, 58%, 45%)
HSVhsv(244, 74%, 72%)
CMYKcmyk(69.4%, 73.8%, 0%, 28.2%)
CIE-LABlab(30.33, 45.65, -69.56)
CIE-LCHlch(30.33, 83.20, 303.28°)
OKLaboklab(41.91% 0.0204 -0.2011)
OKLCHoklch(41.91% 0.202 275.8)
XYZxyz(11.2323, 6.3725, 45.4286)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830B7 #AFB730
analogous
#306BB7 #3830B7 #7C30B7
triadic
#3830B7 #B73830 #30B738
tetradic
#3830B7 #B7306B #AFB730 #30B77C
square
#3830B7 #B7306B #AFB730 #30B77C
split-complementary
#3830B7 #B77C30 #6BB730
monochromatic
#1A1756 #292387 #3830B7 #5A52D2 #8883DE

Accessibility & contrast

On white

9.23
#3830B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3830B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830B7
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830B7#FFFFFF#000000##FFFFFF
##3830B71.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBB
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3830b7;
/* rgb */ color: rgb(56, 48, 183);
/* oklch */ color: oklch(41.9% 0.202 275.8);
Tailwind
colors: {
  custom: {
    50: '#816ace',
    500: '#3830b7',
    950: '#000000',
  },
}
SCSS
$custom: #3830b7;
$custom-light: #816ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3830b7",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 243.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41905,
    "c": 0.2021,
    "h": 275.8
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#3830B7
secondary
#C3C87B
accent
#E246D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3830B7

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

Preview Lab → · Contrast checker → · Palette generator →

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