#3830AB#3830AB

#3830AB is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.7% C 0.187 H 277.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3830AB
RGBrgb(56, 48, 171)
HSLhsl(244, 56%, 43%)
HSVhsv(244, 72%, 67%)
CMYKcmyk(67.3%, 71.9%, 0%, 32.9%)
CIE-LABlab(29.14, 41.74, -64.36)
CIE-LCHlch(29.14, 76.71, 302.97°)
OKLaboklab(40.7% 0.0227 -0.1859)
OKLCHoklch(40.7% 0.187 277)
XYZxyz(10.0361, 5.8941, 39.1290)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830AB #A3AB30
analogous
#3066AB #3830AB #7530AB
triadic
#3830AB #AB3830 #30AB38
tetradic
#3830AB #AB3066 #A3AB30 #30AB75
square
#3830AB #AB3066 #A3AB30 #30AB75
split-complementary
#3830AB #AB7530 #66AB30
monochromatic
#19154B #28237B #3830AB #544CCD #827BDA

Accessibility & contrast

On white

9.64
#3830AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3830AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830AB
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830AB#FFFFFF#000000##FFFFFF
##3830AB1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3830ab;
/* rgb */ color: rgb(56, 48, 171);
/* oklch */ color: oklch(40.7% 0.187 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e6ac5',
    500: '#3830ab',
    950: '#000000',
  },
}
SCSS
$custom: #3830ab;
$custom-light: #7e6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3830ab",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 243.902,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.407,
    "c": 0.18726,
    "h": 277
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#3830AB
secondary
#BDC374
accent
#DF48D6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3830AB

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

Preview Lab → · Contrast checker → · Palette generator →

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